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.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.001198/0.001198, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001461/0.001461, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9908/0.9908, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2892/0.2892, allocations: 32.8 MB / 294.3 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.856e-05, allocations: 6.25 kB / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0009351/0.0009537, allocations: 0.5046 MB / 376.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.003109, allocations: 2.122 MB / 378.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.003125, allocations: 0 / 378.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.003144, allocations: 0 / 378.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.00315, allocations: 0 / 378.6 MB, free: 2.051 MB / 346.7 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.001351/0.004501, allocations: 0.7595 MB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.498e-05/0.004566, allocations: 8 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.004601, allocations: 0 / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.63e-05/0.004627, allocations: 0 / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.818e-05/0.004645, allocations: 4 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.004653, allocations: 0 / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.006325, allocations: 1.552 MB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.166e-06/0.006334, allocations: 0 / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.006351, allocations: 4 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.007743, allocations: 1.871 MB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.007746, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.007748, allocations: 3.984 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.007753, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 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.0005509/0.008304, allocations: 465.2 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.008356, allocations: 8.031 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.008407, allocations: 0.9375 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.641e-05/0.008484, allocations: 108.6 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.008497, allocations: 4.375 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.008508, allocations: 384 / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.008616, allocations: 63.95 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.008625, allocations: 3.938 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.008634, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.008643, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.008665, allocations: 29.69 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.008768, allocations: 108.6 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.954e-05/0.008828, allocations: 52.7 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.008855, allocations: 41.48 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.008861, allocations: 3.938 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.008907, allocations: 67.09 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.008909, allocations: 0 / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002319/0.009141, allocations: 126.7 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.009189, allocations: 77.11 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.009239, allocations: 146.2 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.009248, allocations: 25.7 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.009279, allocations: 126.9 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.009302, allocations: 8.281 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.009327, allocations: 19.38 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.009456, allocations: 492.1 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.009478, allocations: 25.83 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.009494, allocations: 33.7 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/0.009543, allocations: 67.09 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009545, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.458e-05/0.00961, allocations: 93.03 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.009638, allocations: 32.2 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.009642, allocations: 0 / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.009658, allocations: 3.938 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-06/0.009663, allocations: 0 / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.009668, allocations: 0 / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.00968, allocations: 8.094 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.009686, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 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 6.924e-05/0.009755, allocations: 182.3 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-06/0.009762, allocations: 8 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-06/0.00977, allocations: 3 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009773, allocations: 3.938 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.009778, allocations: 0 / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.009781, allocations: 0 / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.553e-05/0.009837, allocations: 108.6 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.009837, allocations: 0 / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.009838, allocations: 7.984 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.00984, allocations: 0 / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.009845, allocations: 0 / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.009845, allocations: 0 / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.009849, allocations: 7.938 kB / 385.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.736e-05/0.009926, allocations: 135.7 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.009931, allocations: 4 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.009943, allocations: 0 / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-06/0.009947, allocations: 0 / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.00996, allocations: 7.938 kB / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.009961, allocations: 32 / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.603e-05/0.009987, allocations: 123.2 kB / 385.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009988, allocations: 0 / 385.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004775/0.01046, allocations: 295.6 kB / 385.9 MB, free: 10.39 MB / 362.7 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.0009547/0.01142, allocations: 0.5213 MB / 386.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.01181, allocations: 118.5 kB / 386.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01181, allocations: 0 / 386.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.01184, allocations: 96.72 kB / 386.6 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.489e-05/0.01192, allocations: 0 / 386.6 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001714/0.01209, allocations: 121.7 kB / 386.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.01212, allocations: 55.36 kB / 386.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.881e-06/0.01213, allocations: 3.984 kB / 386.8 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.117e-05/0.01214, allocations: 8.5 kB / 386.8 MB, free: 9.379 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01214, allocations: 0 / 386.8 MB, free: 9.379 MB / 362.7 MB Notification: Performance of Templates: time 0.009467/0.02161, allocations: 9.726 MB / 396.5 MB, free: 15.64 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.3890061378479]