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.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.001491/0.001491, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001482/0.001482, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2798/0.2798, allocations: 32.81 MB / 294.6 MB, free: 1.203 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.625e-05, allocations: 2.312 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0009396/0.0009559, allocations: 0.497 MB / 376.5 MB, free: 4.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.002569, allocations: 1.569 MB / 378 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.002596, allocations: 0 / 378 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.002614, allocations: 0 / 378 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.213e-06/0.002621, allocations: 0 / 378 MB, free: 2.902 MB / 346.7 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.0008456/0.003467, allocations: 247.2 kB / 378.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.193e-05/0.003519, allocations: 0 / 378.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.003557, allocations: 4 kB / 378.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.937e-05/0.003587, allocations: 4 kB / 378.3 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.924e-05/0.003606, allocations: 4 kB / 378.3 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.003614, allocations: 0 / 378.3 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000724/0.004338, allocations: 0.6868 MB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.004347, allocations: 0 / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.00437, allocations: 0 / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006414/0.005011, allocations: 0.7525 MB / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005013, allocations: 0 / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005014, allocations: 0 / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.005018, allocations: 0 / 379.7 MB, free: 1.207 MB / 346.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.0003085/0.005326, allocations: 389.9 kB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.005363, allocations: 12.03 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.005394, allocations: 0.9375 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5e-05/0.005444, allocations: 108.6 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.005454, allocations: 4.312 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.005465, allocations: 4.359 kB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.005536, allocations: 55.97 kB / 380.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.005542, allocations: 8.109 kB / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.005549, allocations: 384 / 380.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.005556, allocations: 3.938 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.005573, allocations: 29.7 kB / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.739e-05/0.005651, allocations: 112.6 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.183e-05/0.005692, allocations: 64.72 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.00571, allocations: 33.39 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-06/0.005714, allocations: 0 / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.005745, allocations: 63.16 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.005745, allocations: 0 / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.005894, allocations: 118.8 kB / 380.7 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.00594, allocations: 81.05 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.715e-05/0.005977, allocations: 142.2 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.005985, allocations: 25.7 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.006011, allocations: 131 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.006025, allocations: 4.344 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.006046, allocations: 15.38 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.006141, allocations: 496.1 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.006155, allocations: 29.7 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/0.006167, allocations: 33.69 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.006209, allocations: 63.09 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.00621, allocations: 0 / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.644e-05/0.006257, allocations: 89.06 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.006278, allocations: 37.78 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006282, allocations: 0 / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.006292, allocations: 0 / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.006292, allocations: 4 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.006298, allocations: 3.938 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-06/0.006307, allocations: 3.938 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.006311, allocations: 0 / 381.9 MB, free: 14.78 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 5.942e-05/0.006371, allocations: 190.2 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-06/0.006375, allocations: 0 / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-06/0.006381, allocations: 3 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.006383, allocations: 0 / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006387, allocations: 7.984 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.006391, allocations: 7.938 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.502e-05/0.006436, allocations: 108.6 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.006437, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-07/0.006437, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006438, allocations: 4 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.006445, allocations: 4 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.006445, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006446, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.998e-05/0.006516, allocations: 131.8 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-06/0.006519, allocations: 4.031 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.006531, allocations: 7.938 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-06/0.006535, allocations: 0 / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.006544, allocations: 0 / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.006548, allocations: 3.984 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.604e-05/0.006574, allocations: 123.1 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006574, allocations: 0 / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.006822, allocations: 119.9 kB / 382.6 MB, free: 14 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.0004411/0.007263, allocations: 190.6 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.655e-05/0.00735, allocations: 122.5 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.007351, allocations: 0 / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.007379, allocations: 92.78 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.33e-05/0.007463, allocations: 10.88 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001436/0.007606, allocations: 113.6 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.549e-05/0.007632, allocations: 51.36 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.318e-06/0.007636, allocations: 0 / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.058e-05/0.007647, allocations: 12.5 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007647, allocations: 0 / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of Templates: time 0.004423/0.01207, allocations: 4.065 MB / 387.2 MB, free: 9.238 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2183627740014344]