Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.001465/0.001465, allocations: 105 kB / 20.44 MB, free: 1.504 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.001571/0.001571, allocations: 217.3 kB / 23.76 MB, free: 4.727 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.294/1.294, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] 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.2015/0.2015, allocations: 44.24 MB / 331 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") [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.002064/0.002064, allocations: 74.53 kB / 468.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 61.03 MB / 0.5174 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001485/0.1166, allocations: 0.5056 MB / 0.5178 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1186, allocations: 1.566 MB / 0.5194 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.1186, allocations: 3.938 kB / 0.5194 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.1186, allocations: 3.938 kB / 0.5194 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.1186, allocations: 0 / 0.5194 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008389/0.1195, allocations: 251.4 kB / 0.5196 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.463e-05/0.1195, allocations: 3.984 kB / 0.5196 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.1195, allocations: 4 kB / 0.5196 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.49e-05/0.1196, allocations: 4 kB / 0.5196 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.246e-05/0.1196, allocations: 0 / 0.5196 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-06/0.1196, allocations: 0 / 0.5196 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1206, allocations: 0.7961 MB / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-06/0.1206, allocations: 0 / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.1206, allocations: 4 kB / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007059/0.1213, allocations: 0.655 MB / 0.5211 GB, free: 3.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1213, allocations: 7.938 kB / 0.5211 GB, free: 3.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1213, allocations: 0 / 0.5211 GB, free: 3.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1213, allocations: 3.938 kB / 0.5211 GB, free: 3.035 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.0004391/0.1218, allocations: 283.9 kB / 0.5213 GB, free: 2.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1218, allocations: 12.03 kB / 0.5213 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.1219, allocations: 0.9375 kB / 0.5213 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.682e-05/0.1219, allocations: 110.5 kB / 0.5215 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.122, allocations: 384 / 0.5215 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.122, allocations: 384 / 0.5215 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.1221, allocations: 38.02 kB / 0.5215 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1221, allocations: 0 / 0.5215 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1221, allocations: 3.984 kB / 0.5215 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1221, allocations: 0 / 0.5215 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.1221, allocations: 4 kB / 0.5215 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.1222, allocations: 116.7 kB / 0.5216 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.572e-05/0.1223, allocations: 26.59 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.1223, allocations: 4.859 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-06/0.1223, allocations: 4 kB / 0.5216 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.1223, allocations: 60.2 kB / 0.5217 GB, free: 2.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1223, allocations: 0 / 0.5217 GB, free: 2.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001622/0.1225, allocations: 67.39 kB / 0.5218 GB, free: 2.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1226, allocations: 81.11 kB / 0.5218 GB, free: 2.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.998e-05/0.1226, allocations: 89.86 kB / 0.5219 GB, free: 1.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1226, allocations: 29.7 kB / 0.522 GB, free: 1.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.1227, allocations: 84.27 kB / 0.522 GB, free: 1.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.1227, allocations: 0 / 0.522 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.1227, allocations: 9.719 kB / 0.522 GB, free: 1.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1228, allocations: 314.8 kB / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.1228, allocations: 0 / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-06/0.1228, allocations: 0 / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.1229, allocations: 68.25 kB / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1229, allocations: 0 / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.652e-05/0.123, allocations: 71.34 kB / 0.5225 GB, free: 1.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.123, allocations: 33.64 kB / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.123, allocations: 0 / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.123, allocations: 0 / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.123, allocations: 0 / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.123, allocations: 0 / 0.5225 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.123, allocations: 4 kB / 0.5225 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.1231, allocations: 3.984 kB / 0.5225 GB, free: 1.312 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 8.02e-05/0.1231, allocations: 131.6 kB / 0.5226 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1231, allocations: 11.94 kB / 0.5227 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-06/0.1232, allocations: 10.94 kB / 0.5227 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1232, allocations: 0 / 0.5227 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1232, allocations: 0 / 0.5227 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-06/0.1232, allocations: 0 / 0.5227 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.202e-05/0.1232, allocations: 124.7 kB / 0.5228 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1232, allocations: 4 kB / 0.5228 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.1232, allocations: 0 / 0.5228 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1233, allocations: 3.938 kB / 0.5228 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1233, allocations: 4 kB / 0.5228 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1233, allocations: 4 kB / 0.5228 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1233, allocations: 0 / 0.5228 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.1234, allocations: 94.77 kB / 0.5229 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-06/0.1234, allocations: 0 / 0.5229 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1234, allocations: 3.938 kB / 0.5229 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.1234, allocations: 4 kB / 0.5229 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-06/0.1234, allocations: 0 / 0.5229 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1234, allocations: 32 / 0.5229 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.1234, allocations: 83.31 kB / 0.523 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1234, allocations: 0 / 0.523 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.1238, allocations: 123.9 kB / 0.5231 GB, free: 0.6406 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.0006052/0.1244, allocations: 167.9 kB / 0.5233 GB, free: 480 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.113e-05/0.1245, allocations: 63.39 kB / 0.5233 GB, free: 404 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1245, allocations: 4 kB / 0.5233 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.1246, allocations: 55.34 kB / 0.5234 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.1247, allocations: 4 kB / 0.5234 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/0.1249, allocations: 106.6 kB / 0.5235 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1251, allocations: 0.6769 MB / 0.5241 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.1252, allocations: 7.438 kB / 0.5241 GB, free: 15.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1252, allocations: 0 / 0.5241 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Templates: time 0.005125/0.1303, allocations: 2.707 MB / 0.5268 GB, free: 12.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.673905720934272] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.13892612420022488 0.32067805800000004 0.028220652000000002 Calling exit ...