Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 227.2 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 207.6 MB / 233.8 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2181/0.2181, allocations: 44.24 MB / 330.3 MB, free: 9.508 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.91 kB / 467.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1246, allocations: 61.04 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0017/0.1263, allocations: 0.4979 MB / 0.5166 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1285, allocations: 1.617 MB / 0.5182 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.1286, allocations: 0 / 0.5182 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1286, allocations: 3.938 kB / 0.5182 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.643e-06/0.1286, allocations: 0 / 0.5182 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009777/0.1296, allocations: 295.2 kB / 0.5185 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.1296, allocations: 4 kB / 0.5185 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.1297, allocations: 4 kB / 0.5185 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.599e-05/0.1297, allocations: 0 / 0.5185 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.911e-05/0.1297, allocations: 3.984 kB / 0.5185 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.1297, allocations: 0 / 0.5185 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000862/0.1306, allocations: 0.5964 MB / 0.5191 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.1306, allocations: 0 / 0.5191 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1306, allocations: 7.938 kB / 0.5191 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.1311, allocations: 327.2 kB / 0.5194 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1311, allocations: 0 / 0.5194 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1311, allocations: 0 / 0.5194 GB, free: 3.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1311, allocations: 0 / 0.5194 GB, free: 3.973 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004214/0.1315, allocations: 295.8 kB / 0.5197 GB, free: 3.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1315, allocations: 8.031 kB / 0.5197 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.1316, allocations: 38.75 kB / 0.5197 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.1316, allocations: 8.922 kB / 0.5197 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.882e-05/0.1317, allocations: 102.5 kB / 0.5198 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1317, allocations: 4.312 kB / 0.5198 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.1317, allocations: 384 / 0.5198 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1318, allocations: 37.83 kB / 0.5199 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1319, allocations: 0 / 0.5199 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1319, allocations: 3.938 kB / 0.5199 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1319, allocations: 0 / 0.5199 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.1319, allocations: 8 kB / 0.5199 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.132, allocations: 116.8 kB / 0.52 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.1321, allocations: 22.55 kB / 0.52 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.1321, allocations: 4.859 kB / 0.52 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.1321, allocations: 3.938 kB / 0.52 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.779e-05/0.1322, allocations: 64.2 kB / 0.5201 GB, free: 3.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1322, allocations: 0 / 0.5201 GB, free: 3.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.1324, allocations: 67.45 kB / 0.5201 GB, free: 3.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.1325, allocations: 77.11 kB / 0.5202 GB, free: 2.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.158e-05/0.1325, allocations: 93.86 kB / 0.5203 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1326, allocations: 25.7 kB / 0.5203 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.1326, allocations: 80.14 kB / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.1326, allocations: 0 / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1326, allocations: 13.72 kB / 0.5204 GB, free: 2.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1328, allocations: 319 kB / 0.5207 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.1328, allocations: 3.938 kB / 0.5207 GB, free: 2.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.1328, allocations: 0 / 0.5207 GB, free: 2.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/0.1329, allocations: 64.25 kB / 0.5208 GB, free: 2.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1329, allocations: 0 / 0.5208 GB, free: 2.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.906e-05/0.1329, allocations: 63.41 kB / 0.5208 GB, free: 2.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.133, allocations: 33.64 kB / 0.5209 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.133, allocations: 0 / 0.5209 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.133, allocations: 0 / 0.5209 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.746e-06/0.133, allocations: 8.078 kB / 0.5209 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.133, allocations: 4 kB / 0.5209 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.133, allocations: 3.938 kB / 0.5209 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.133, allocations: 0 / 0.5209 GB, free: 2.188 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.718e-05/0.1331, allocations: 139.5 kB / 0.521 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.1331, allocations: 3.938 kB / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-06/0.1331, allocations: 3 kB / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1331, allocations: 0 / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1331, allocations: 0 / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1332, allocations: 4 kB / 0.521 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1333, allocations: 124.8 kB / 0.5212 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1333, allocations: 0 / 0.5212 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1333, allocations: 0 / 0.5212 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1333, allocations: 3.938 kB / 0.5212 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1333, allocations: 0 / 0.5212 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1333, allocations: 0 / 0.5212 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1333, allocations: 7.984 kB / 0.5212 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.1334, allocations: 102.7 kB / 0.5213 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.1334, allocations: 3.938 kB / 0.5213 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1334, allocations: 4 kB / 0.5213 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.059e-05/0.1334, allocations: 3.984 kB / 0.5213 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.1334, allocations: 0 / 0.5213 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1334, allocations: 3.938 kB / 0.5213 GB, free: 1.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.162e-05/0.1335, allocations: 75.28 kB / 0.5214 GB, free: 1.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1335, allocations: 0 / 0.5214 GB, free: 1.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.1338, allocations: 63.8 kB / 0.5214 GB, free: 1.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007814/0.1346, allocations: 0.7164 MB / 0.5221 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1347, allocations: 59.39 kB / 0.5222 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1347, allocations: 0 / 0.5222 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.1347, allocations: 59.34 kB / 0.5222 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1348, allocations: 5.812 kB / 0.5222 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.1352, allocations: 138.5 kB / 0.5224 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1356, allocations: 0.669 MB / 0.523 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.702e-06/0.1356, allocations: 0 / 0.523 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.1356, allocations: 11.44 kB / 0.523 GB, free: 15.8 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1356, allocations: 0 / 0.523 GB, free: 15.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.163, allocations: 2.209 MB / 0.5252 GB, free: 13.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.6, allocations: 20.95 kB / 0.5252 GB, free: 13.57 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.744800989006762] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 10.70681899000192 10.919506295 10.587825114 Calling exit ...