Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 110.6 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 187.1 kB / 19.38 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 59.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.451, allocations: 60.82 MB / 0.5195 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002145/0.4532, allocations: 0.4967 MB / 0.52 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.4568, allocations: 2.092 MB / 0.5221 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.4569, allocations: 0 / 0.5221 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.4569, allocations: 4 kB / 0.5221 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.755e-06/0.457, allocations: 0 / 0.5221 GB, free: 1.848 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.4597, allocations: 0.7125 MB / 0.5228 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.949e-05/0.4597, allocations: 9.562 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.4598, allocations: 1.734 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.481e-05/0.4598, allocations: 5.531 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.615e-05/0.4598, allocations: 5 kB / 0.5228 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.4598, allocations: 0 / 0.5228 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.4629, allocations: 1.507 MB / 0.5243 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.4629, allocations: 1.375 kB / 0.5243 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.463, allocations: 0 / 0.5243 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003225/0.4662, allocations: 1.543 MB / 0.5258 GB, free: 0.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4662, allocations: 0 / 0.5258 GB, free: 0.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4662, allocations: 0 / 0.5258 GB, free: 0.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.4662, allocations: 0 / 0.5258 GB, free: 0.582 MB / 382.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.001011/0.4673, allocations: 422 kB / 0.5262 GB, free: 148 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4673, allocations: 8.25 kB / 0.5262 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.4674, allocations: 6.297 kB / 0.5262 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.4675, allocations: 160.4 kB / 0.5263 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.4675, allocations: 384 / 0.5263 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.4675, allocations: 5.5 kB / 0.5264 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.883e-05/0.4676, allocations: 40.33 kB / 0.5264 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.4676, allocations: 0 / 0.5264 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.4676, allocations: 0 / 0.5264 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4677, allocations: 1.375 kB / 0.5264 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.4677, allocations: 5.375 kB / 0.5264 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.4678, allocations: 145.7 kB / 0.5265 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.161e-05/0.4678, allocations: 17.33 kB / 0.5266 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.4679, allocations: 10.17 kB / 0.5266 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.4679, allocations: 3.984 kB / 0.5266 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.4679, allocations: 61.64 kB / 0.5266 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4679, allocations: 7.938 kB / 0.5266 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001559/0.4681, allocations: 63.64 kB / 0.5267 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4682, allocations: 77.11 kB / 0.5268 GB, free: 15.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.4682, allocations: 89.86 kB / 0.5269 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.4682, allocations: 27.08 kB / 0.5269 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.4683, allocations: 80.14 kB / 0.527 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.4683, allocations: 0 / 0.527 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.4683, allocations: 16.47 kB / 0.527 GB, free: 15.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4684, allocations: 318.9 kB / 0.5273 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.4684, allocations: 1.375 kB / 0.5273 GB, free: 14.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-06/0.4685, allocations: 5.359 kB / 0.5273 GB, free: 14.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.4685, allocations: 62.95 kB / 0.5273 GB, free: 14.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4685, allocations: 0 / 0.5273 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.479e-05/0.4686, allocations: 66.22 kB / 0.5274 GB, free: 14.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.4686, allocations: 31.2 kB / 0.5274 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.4686, allocations: 1.375 kB / 0.5274 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4687, allocations: 8.078 kB / 0.5274 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.4687, allocations: 0 / 0.5274 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4687, allocations: 5.375 kB / 0.5274 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.887e-05/0.4687, allocations: 3.906 kB / 0.5274 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.4687, allocations: 1.375 kB / 0.5275 GB, free: 14.68 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 7.926e-05/0.4688, allocations: 132.9 kB / 0.5276 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.4688, allocations: 5.312 kB / 0.5276 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.09e-05/0.4688, allocations: 3.125 kB / 0.5276 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4688, allocations: 1.375 kB / 0.5276 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4689, allocations: 4 kB / 0.5276 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.4689, allocations: 81.09 kB / 0.5277 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.4689, allocations: 1.375 kB / 0.5277 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.4689, allocations: 1.375 kB / 0.5277 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.4689, allocations: 0 / 0.5277 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001235/0.4691, allocations: 199.6 kB / 0.5279 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000136/0.4692, allocations: 239.6 kB / 0.5281 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.764e-05/0.4692, allocations: 5.312 kB / 0.5281 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.856e-05/0.4693, allocations: 79.22 kB / 0.5282 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.4693, allocations: 1.375 kB / 0.5282 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002086/0.4714, allocations: 462.8 kB / 0.5286 GB, free: 13.59 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003357/0.4717, allocations: 0.5758 MB / 0.5292 GB, free: 12.96 MB / 398.1 MB Notification: Performance of Templates: time 0.01276/0.4845, allocations: 7.319 MB / 0.5363 GB, free: 9.164 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)