Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001427/0.001427, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001569/0.001569, allocations: 171.7 kB / 24.82 MB, free: 9.266 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 0.9966/0.9966, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.223/0.223, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 376.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.442e-05, allocations: 6.25 kB / 376.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0008969/0.0009113, allocations: 0.5163 MB / 377 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004626/0.005538, allocations: 4.603 MB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.005556, allocations: 0 / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.005571, allocations: 0 / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.005576, allocations: 0 / 381.6 MB, free: 15.29 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.004079/0.009655, allocations: 3.275 MB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.71e-05/0.009702, allocations: 11.98 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.009735, allocations: 0 / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.009765, allocations: 0 / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.83e-05/0.009783, allocations: 4 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.00979, allocations: 0 / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0216/0.03139, allocations: 19.81 MB / 404.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.0314, allocations: 0 / 404.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.03141, allocations: 0 / 404.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02663/0.05804, allocations: 30.75 MB / 435.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.05805, allocations: 0 / 435.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.05805, allocations: 3.938 kB / 435.4 MB, free: 9.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.05805, allocations: 4 kB / 435.4 MB, free: 9.348 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.004479/0.06253, allocations: 0.7017 MB / 436.1 MB, free: 8.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.06257, allocations: 12.03 kB / 436.1 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.0626, allocations: 1.281 kB / 436.1 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.012e-05/0.06265, allocations: 108.2 kB / 436.2 MB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.06266, allocations: 0 / 436.2 MB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-06/0.06266, allocations: 4 kB / 436.3 MB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.095e-05/0.06273, allocations: 55.41 kB / 436.3 MB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.06273, allocations: 0 / 436.3 MB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.06274, allocations: 8 kB / 436.3 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.06274, allocations: 4 kB / 436.3 MB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.06276, allocations: 29.69 kB / 436.3 MB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.048e-05/0.06283, allocations: 93.27 kB / 436.4 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.726e-05/0.06287, allocations: 56.64 kB / 436.5 MB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.06288, allocations: 37.48 kB / 436.5 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-06/0.06289, allocations: 3.938 kB / 436.5 MB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.06292, allocations: 59.09 kB / 436.6 MB, free: 8.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.06292, allocations: 0 / 436.6 MB, free: 8.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.06306, allocations: 126.7 kB / 436.7 MB, free: 7.875 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.06309, allocations: 85.23 kB / 436.8 MB, free: 7.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.497e-05/0.06313, allocations: 142.2 kB / 436.9 MB, free: 7.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.06313, allocations: 25.7 kB / 437 MB, free: 7.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.06316, allocations: 126.9 kB / 437.1 MB, free: 7.461 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.06317, allocations: 0 / 437.1 MB, free: 7.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.06319, allocations: 19.38 kB / 437.1 MB, free: 7.434 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.06329, allocations: 0.4884 MB / 437.6 MB, free: 6.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.0633, allocations: 25.7 kB / 437.6 MB, free: 6.902 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.019e-05/0.06331, allocations: 29.7 kB / 437.6 MB, free: 6.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.06334, allocations: 59.09 kB / 437.7 MB, free: 6.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.06335, allocations: 8.062 kB / 437.7 MB, free: 6.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.503e-05/0.0634, allocations: 96.97 kB / 437.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.06343, allocations: 33.7 kB / 437.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.06343, allocations: 0 / 437.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.06344, allocations: 0 / 437.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.06344, allocations: 0 / 437.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.06345, allocations: 0 / 437.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.06346, allocations: 0 / 437.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.06346, allocations: 4 kB / 437.8 MB, free: 6.629 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 5.726e-05/0.06352, allocations: 182.3 kB / 438 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.06353, allocations: 15.95 kB / 438 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-06/0.06354, allocations: 3 kB / 438 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-07/0.06354, allocations: 0 / 438 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.06354, allocations: 0 / 438 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.06354, allocations: 0 / 438 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.33e-05/0.06358, allocations: 93.27 kB / 438.1 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-07/0.06358, allocations: 0 / 438.1 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.06359, allocations: 0 / 438.1 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-07/0.06359, allocations: 0 / 438.1 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-06/0.06359, allocations: 3.938 kB / 438.1 MB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3e-07/0.06359, allocations: 0 / 438.1 MB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.06359, allocations: 4 kB / 438.1 MB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.749e-05/0.06366, allocations: 139.7 kB / 438.3 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-06/0.06366, allocations: 0 / 438.3 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.06367, allocations: 7.922 kB / 438.3 MB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-06/0.06368, allocations: 4 kB / 438.3 MB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-06/0.06368, allocations: 0 / 438.3 MB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.06368, allocations: 4 kB / 438.3 MB, free: 6.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.303e-05/0.06371, allocations: 119.2 kB / 438.4 MB, free: 5.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06371, allocations: 0 / 438.4 MB, free: 5.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005993/0.0697, allocations: 3.791 MB / 442.2 MB, free: 2.195 MB / 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.008347/0.07805, allocations: 1.075 MB / 443.3 MB, free: 1.145 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.818e-05/0.07814, allocations: 122.4 kB / 443.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.07814, allocations: 4 kB / 443.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.07816, allocations: 88.8 kB / 443.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.193e-05/0.07825, allocations: 4 kB / 443.5 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000139/0.07839, allocations: 121.6 kB / 443.6 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.358e-05/0.07841, allocations: 51.48 kB / 443.7 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.909e-06/0.07841, allocations: 4 kB / 443.7 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.07845, allocations: 74.2 kB / 443.7 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.07845, allocations: 0 / 443.7 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of Templates: time 0.2402/0.3186, allocations: 124.9 MB / 0.5554 GB, free: 392 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 222.20964286802337]