Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001827/0.001827, allocations: 191.2 kB / 19.39 MB, free: 3.707 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.445/1.445, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2068/0.2068, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3782, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001764/0.38, allocations: 0.491 MB / 0.52 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.3824, allocations: 1.515 MB / 0.5215 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.3824, allocations: 1.062 kB / 0.5215 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.3824, allocations: 0 / 0.5215 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.024e-05/0.3825, allocations: 0 / 0.5215 GB, free: 2.219 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.3837, allocations: 227.2 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.332e-05/0.3838, allocations: 9.625 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.3839, allocations: 1.922 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.707e-05/0.3839, allocations: 1.188 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.03e-05/0.3839, allocations: 1.094 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.3839, allocations: 0 / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.3854, allocations: 0.7036 MB / 0.5224 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.3854, allocations: 3.938 kB / 0.5224 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.3855, allocations: 1.031 kB / 0.5224 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.3868, allocations: 0.6471 MB / 0.5231 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3868, allocations: 0 / 0.5231 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3868, allocations: 0.7188 kB / 0.5231 GB, free: 1.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3868, allocations: 0 / 0.5231 GB, free: 1.918 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.0008908/0.3877, allocations: 364.9 kB / 0.5234 GB, free: 1.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3878, allocations: 9.438 kB / 0.5234 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.3878, allocations: 0.9375 kB / 0.5234 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.51e-05/0.3879, allocations: 166.8 kB / 0.5236 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3879, allocations: 384 / 0.5236 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.3879, allocations: 1.656 kB / 0.5236 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.388, allocations: 41.81 kB / 0.5236 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.388, allocations: 0.6562 kB / 0.5236 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3881, allocations: 0 / 0.5236 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3881, allocations: 1.406 kB / 0.5236 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.3881, allocations: 8.391 kB / 0.5236 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.3882, allocations: 145.2 kB / 0.5238 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.294e-05/0.3882, allocations: 16.2 kB / 0.5238 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.3883, allocations: 10.52 kB / 0.5238 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.3883, allocations: 1.219 kB / 0.5238 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3883, allocations: 65.94 kB / 0.5239 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3883, allocations: 0 / 0.5239 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001883/0.3885, allocations: 65.11 kB / 0.5239 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.3886, allocations: 79.11 kB / 0.524 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.363e-05/0.3886, allocations: 90.42 kB / 0.5241 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.3886, allocations: 25.83 kB / 0.5241 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.3886, allocations: 85.23 kB / 0.5242 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.3886, allocations: 0 / 0.5242 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.3887, allocations: 16.67 kB / 0.5242 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.3887, allocations: 312.6 kB / 0.5245 GB, free: 272 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-06/0.3887, allocations: 0.6094 kB / 0.5245 GB, free: 272 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-06/0.3888, allocations: 1.344 kB / 0.5245 GB, free: 272 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.3888, allocations: 60.86 kB / 0.5246 GB, free: 200 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3888, allocations: 8.062 kB / 0.5246 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.259e-05/0.3889, allocations: 68.39 kB / 0.5246 GB, free: 120 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.3889, allocations: 35.47 kB / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3889, allocations: 5.094 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3889, allocations: 0.5625 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.3889, allocations: 0 / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.389, allocations: 2.031 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.389, allocations: 0 / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.389, allocations: 1.156 kB / 0.5247 GB, free: 80 kB / 382.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.041e-05/0.3891, allocations: 139.4 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.3891, allocations: 3.953 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.392e-05/0.3891, allocations: 9.094 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3891, allocations: 0 / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3891, allocations: 0.6562 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.3892, allocations: 79.3 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3892, allocations: 1.625 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-06/0.3892, allocations: 0.6562 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.3892, allocations: 0 / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001354/0.3894, allocations: 207 kB / 0.5251 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001536/0.3895, allocations: 237.9 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.709e-05/0.3895, allocations: 2.719 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.613e-05/0.3896, allocations: 75.28 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3896, allocations: 0 / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.3911, allocations: 219.7 kB / 0.5256 GB, free: 15.13 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003705/0.3915, allocations: 0.5755 MB / 0.5262 GB, free: 14.5 MB / 398.1 MB Notification: Performance of Templates: time 0.007087/0.3986, allocations: 3.941 MB / 0.53 GB, free: 12.67 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)