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.001013/0.001013, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001067/0.001068, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.469/1.469, allocations: 222.9 MB / 242.4 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.2323/0.2323, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4505, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001577/0.4521, allocations: 0.5011 MB / 0.5194 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4542, allocations: 1.516 MB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.4542, allocations: 0 / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.4542, allocations: 0 / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.4542, allocations: 0 / 0.5209 GB, free: 2.195 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.0008917/0.4551, allocations: 223.5 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.678e-05/0.4552, allocations: 1.094 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.4552, allocations: 2.516 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.4553, allocations: 9.219 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.553e-05/0.4553, allocations: 0 / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.4553, allocations: 1.125 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.4563, allocations: 0.7029 MB / 0.5218 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-06/0.4564, allocations: 7.875 kB / 0.5218 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.4564, allocations: 1.156 kB / 0.5218 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.4573, allocations: 0.6346 MB / 0.5224 GB, free: 1.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4573, allocations: 1.75 kB / 0.5224 GB, free: 1.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4573, allocations: 0 / 0.5224 GB, free: 1.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.4573, allocations: 0 / 0.5224 GB, free: 1.902 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.0003475/0.4577, allocations: 369.7 kB / 0.5227 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4577, allocations: 8.5 kB / 0.5228 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.4578, allocations: 10.66 kB / 0.5228 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.147e-05/0.4578, allocations: 161.1 kB / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4578, allocations: 384 / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-06/0.4579, allocations: 1.969 kB / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.206e-05/0.4579, allocations: 38.42 kB / 0.523 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.4579, allocations: 0 / 0.523 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.458, allocations: 0 / 0.523 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.458, allocations: 5.406 kB / 0.523 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.563e-05/0.458, allocations: 3.938 kB / 0.523 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.076e-05/0.4581, allocations: 148.9 kB / 0.5231 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.032e-05/0.4581, allocations: 17.34 kB / 0.5231 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.243e-05/0.4581, allocations: 6.984 kB / 0.5231 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.4581, allocations: 3.938 kB / 0.5231 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4582, allocations: 62.44 kB / 0.5232 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4582, allocations: 4 kB / 0.5232 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001456/0.4583, allocations: 65.39 kB / 0.5233 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4584, allocations: 79.28 kB / 0.5233 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.06e-05/0.4584, allocations: 89.86 kB / 0.5234 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.4584, allocations: 25.7 kB / 0.5234 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-06/0.4584, allocations: 80.14 kB / 0.5235 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.4584, allocations: 1.844 kB / 0.5235 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.4585, allocations: 12.42 kB / 0.5235 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.4585, allocations: 316.8 kB / 0.5238 GB, free: 252 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.4585, allocations: 0 / 0.5238 GB, free: 252 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.4585, allocations: 9.406 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/0.4586, allocations: 60.53 kB / 0.5239 GB, free: 172 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4586, allocations: 1.688 kB / 0.5239 GB, free: 172 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.119e-05/0.4586, allocations: 58.66 kB / 0.524 GB, free: 108 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.4587, allocations: 37.02 kB / 0.524 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4587, allocations: 0 / 0.524 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4587, allocations: 4.609 kB / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.4587, allocations: 0 / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4587, allocations: 2.109 kB / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.4587, allocations: 0 / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.4587, allocations: 1.531 kB / 0.524 GB, free: 68 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.347e-05/0.4588, allocations: 138.3 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.4589, allocations: 5.438 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.4589, allocations: 3.734 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4589, allocations: 6.047 kB / 0.5242 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4589, allocations: 4 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4589, allocations: 0 / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.056e-05/0.459, allocations: 145.7 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.459, allocations: 3.938 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-06/0.459, allocations: 1.781 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.459, allocations: 12.42 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.459, allocations: 0 / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.459, allocations: 2.359 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.459, allocations: 4 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.225e-05/0.4591, allocations: 96.53 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.4592, allocations: 77.81 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.4592, allocations: 6.516 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.4592, allocations: 0 / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.4592, allocations: 0.75 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.4592, allocations: 1.75 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.875e-05/0.4593, allocations: 75.28 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4594, allocations: 0 / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005209/0.4599, allocations: 127.1 kB / 0.5247 GB, free: 15.4 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.0006616/0.4606, allocations: 172 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.4607, allocations: 67.11 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4607, allocations: 0 / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.742e-05/0.4608, allocations: 54.67 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.4609, allocations: 2.75 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001762/0.4611, allocations: 77.83 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.4613, allocations: 0.6747 MB / 0.5257 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.983e-06/0.4613, allocations: 2.172 kB / 0.5257 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.816e-06/0.4614, allocations: 7.562 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4614, allocations: 4 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Templates: time 0.008398/0.4698, allocations: 3.935 MB / 0.5296 GB, free: 12.54 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)