Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.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.001547/0.001547, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001742/0.001742, 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 1.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2611/0.2611, allocations: 34.27 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.214e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001753/0.001785, allocations: 0.493 MB / 378.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007222/0.009006, allocations: 4.689 MB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.009026, allocations: 3.938 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.009048, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.663e-06/0.009055, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.007816/0.01687, allocations: 3.275 MB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.668e-05/0.01693, allocations: 4 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.01697, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.01699, allocations: 7.938 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.866e-05/0.01701, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.01702, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0302/0.04722, allocations: 19.81 MB / 406.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.04724, allocations: 4 kB / 406.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.04727, allocations: 3.984 kB / 406.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03378/0.08105, allocations: 30.71 MB / 437 MB, free: 7.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.08106, allocations: 3.984 kB / 437 MB, free: 7.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.08106, allocations: 0 / 437 MB, free: 7.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.08107, allocations: 0 / 437 MB, free: 7.543 MB / 410.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.006948/0.08801, allocations: 0.7017 MB / 437.7 MB, free: 6.797 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.08806, allocations: 12.03 kB / 437.7 MB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.08811, allocations: 5.219 kB / 437.7 MB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.887e-05/0.08817, allocations: 112.1 kB / 437.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.08818, allocations: 0 / 437.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.08819, allocations: 4 kB / 437.8 MB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/0.08828, allocations: 55.39 kB / 437.9 MB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.08829, allocations: 0 / 437.9 MB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.0883, allocations: 0 / 437.9 MB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.08831, allocations: 7.984 kB / 437.9 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.821e-05/0.08833, allocations: 29.7 kB / 437.9 MB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.08843, allocations: 112.6 kB / 438 MB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.08847, allocations: 56.7 kB / 438.1 MB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.0885, allocations: 37.48 kB / 438.1 MB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.0885, allocations: 0 / 438.1 MB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.08854, allocations: 63.08 kB / 438.2 MB, free: 6.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.22e-07/0.08854, allocations: 0 / 438.2 MB, free: 6.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001838/0.08872, allocations: 118.8 kB / 438.3 MB, free: 6.047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.08876, allocations: 85.05 kB / 438.4 MB, free: 5.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.08881, allocations: 146.4 kB / 438.5 MB, free: 5.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.08882, allocations: 29.7 kB / 438.6 MB, free: 5.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.08884, allocations: 126.9 kB / 438.7 MB, free: 5.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.08886, allocations: 0 / 438.7 MB, free: 5.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.08888, allocations: 23.31 kB / 438.7 MB, free: 5.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.089, allocations: 492.1 kB / 439.2 MB, free: 5.102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.08902, allocations: 25.7 kB / 439.2 MB, free: 5.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.08904, allocations: 33.7 kB / 439.3 MB, free: 5.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.08909, allocations: 63.09 kB / 439.3 MB, free: 4.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.08909, allocations: 7.938 kB / 439.3 MB, free: 4.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.991e-05/0.08916, allocations: 89.16 kB / 439.4 MB, free: 4.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.0892, allocations: 37.64 kB / 439.4 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.0892, allocations: 0 / 439.4 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.08922, allocations: 0 / 439.4 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-06/0.08922, allocations: 0 / 439.4 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.08923, allocations: 0 / 439.4 MB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.08925, allocations: 4 kB / 439.5 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.08926, allocations: 3.984 kB / 439.5 MB, free: 4.789 MB / 410.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 8.397e-05/0.08935, allocations: 186.2 kB / 439.6 MB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-06/0.08935, allocations: 4 kB / 439.6 MB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.08937, allocations: 7.031 kB / 439.6 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.08937, allocations: 0 / 439.6 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.08937, allocations: 0 / 439.6 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.08938, allocations: 0 / 439.6 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.592e-05/0.08943, allocations: 112.6 kB / 439.8 MB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.08943, allocations: 3.938 kB / 439.8 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.08943, allocations: 0 / 439.8 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.08944, allocations: 0 / 439.8 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.08944, allocations: 0 / 439.8 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.08944, allocations: 0 / 439.8 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.08944, allocations: 0 / 439.8 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.668e-05/0.08953, allocations: 139.8 kB / 439.9 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.08953, allocations: 3.938 kB / 439.9 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.08955, allocations: 0 / 439.9 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-06/0.08956, allocations: 0 / 439.9 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.08957, allocations: 4 kB / 439.9 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.08957, allocations: 0 / 439.9 MB, free: 4.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.857e-05/0.0896, allocations: 119.2 kB / 440 MB, free: 4.137 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0896, allocations: 0 / 440 MB, free: 4.137 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009596/0.0992, allocations: 3.791 MB / 443.8 MB, free: 352 kB / 410.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.1516/0.2508, allocations: 1.066 MB / 444.9 MB, free: 72.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.2509, allocations: 125.7 kB / 445 MB, free: 72.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2509, allocations: 0 / 445 MB, free: 72.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.2509, allocations: 91.77 kB / 445.1 MB, free: 72.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.251, allocations: 9.906 kB / 445.1 MB, free: 72.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.2512, allocations: 113.2 kB / 445.2 MB, free: 72.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.001e-05/0.2512, allocations: 57.06 kB / 445.3 MB, free: 72.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.149e-06/0.2512, allocations: 0 / 445.3 MB, free: 72.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.2512, allocations: 11.41 kB / 445.3 MB, free: 72.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2512, allocations: 0 / 445.3 MB, free: 72.46 MB / 410.7 MB Notification: Performance of Templates: time 0.115/0.3662, allocations: 116.9 MB / 0.549 GB, free: 5.445 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 9.009981402661651]