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.002359/0.002359, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.002649/0.002649, allocations: 161.3 kB / 24.27 MB, free: 136 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.587/1.587, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3569/0.3569, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.643e-06/1.643e-06, allocations: 0 / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.621e-05/3.785e-05, allocations: 6.25 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002193/0.002231, allocations: 0.4966 MB / 375.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.01477, allocations: 4.655 MB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.01479, allocations: 0 / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.01481, allocations: 4 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.01481, allocations: 0 / 380.4 MB, free: 15.82 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.01461/0.02942, allocations: 3.263 MB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.02949, allocations: 3.984 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.02953, allocations: 0 / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.02958, allocations: 4 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.225e-05/0.0296, allocations: 0 / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.02961, allocations: 0 / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05652/0.08613, allocations: 19.81 MB / 403.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.08615, allocations: 0 / 403.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.08619, allocations: 0 / 403.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.07959/0.1658, allocations: 30.72 MB / 434.2 MB, free: 9.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.1658, allocations: 0 / 434.2 MB, free: 9.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1658, allocations: 0 / 434.2 MB, free: 9.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1658, allocations: 0 / 434.2 MB, free: 9.941 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.009179/0.175, allocations: 0.6939 MB / 434.9 MB, free: 9.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.175, allocations: 8.031 kB / 434.9 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.1751, allocations: 0.9375 kB / 434.9 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.1752, allocations: 120.2 kB / 435 MB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1752, allocations: 0 / 435 MB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.1753, allocations: 3.984 kB / 435 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1754, allocations: 59.34 kB / 435.1 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1754, allocations: 0 / 435.1 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1754, allocations: 0 / 435.1 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1754, allocations: 0 / 435.1 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.604e-05/0.1755, allocations: 33.64 kB / 435.1 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.1757, allocations: 112.6 kB / 435.2 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1758, allocations: 56.78 kB / 435.3 MB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.1759, allocations: 37.39 kB / 435.3 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.1759, allocations: 0 / 435.3 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.1762, allocations: 63.16 kB / 435.4 MB, free: 8.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.1762, allocations: 0 / 435.4 MB, free: 8.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003237/0.1765, allocations: 126.7 kB / 435.5 MB, free: 8.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.1766, allocations: 77.11 kB / 435.6 MB, free: 8.352 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1767, allocations: 142.2 kB / 435.7 MB, free: 8.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.1767, allocations: 25.7 kB / 435.7 MB, free: 8.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.1768, allocations: 130.9 kB / 435.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1769, allocations: 7.891 kB / 435.9 MB, free: 8.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.1769, allocations: 23.5 kB / 435.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003462/0.1773, allocations: 496.1 kB / 436.4 MB, free: 7.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.1773, allocations: 25.7 kB / 436.4 MB, free: 7.469 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.1774, allocations: 29.69 kB / 436.4 MB, free: 7.434 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1775, allocations: 63.09 kB / 436.5 MB, free: 7.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.1775, allocations: 3.938 kB / 436.5 MB, free: 7.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001791/0.1777, allocations: 93.05 kB / 436.6 MB, free: 7.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.605e-05/0.1777, allocations: 37.69 kB / 436.6 MB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1777, allocations: 0 / 436.6 MB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1778, allocations: 4.094 kB / 436.6 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.1778, allocations: 0 / 436.6 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1778, allocations: 0 / 436.6 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.1778, allocations: 0 / 436.6 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1778, allocations: 4 kB / 436.6 MB, free: 7.191 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 0.0001946/0.178, allocations: 182.2 kB / 436.8 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.178, allocations: 4 kB / 436.8 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-06/0.178, allocations: 3 kB / 436.8 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.178, allocations: 0 / 436.8 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.178, allocations: 3.984 kB / 436.8 MB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.178, allocations: 7.938 kB / 436.8 MB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1782, allocations: 112.6 kB / 436.9 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.1782, allocations: 7.938 kB / 437 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.1782, allocations: 0 / 437 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1782, allocations: 0 / 437 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1782, allocations: 0 / 437 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1782, allocations: 0 / 437 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1782, allocations: 0 / 437 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1784, allocations: 135.8 kB / 437.1 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.1784, allocations: 3.938 kB / 437.1 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1785, allocations: 0 / 437.1 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/0.1785, allocations: 4.031 kB / 437.1 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.1785, allocations: 4 kB / 437.1 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1785, allocations: 3.984 kB / 437.1 MB, free: 6.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.619e-05/0.1786, allocations: 119.2 kB / 437.2 MB, free: 6.527 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1786, allocations: 0 / 437.2 MB, free: 6.527 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01648/0.1951, allocations: 3.784 MB / 441 MB, free: 2.742 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.02816/0.2232, allocations: 1.068 MB / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.2235, allocations: 122.5 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.2235, allocations: 8.062 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.2237, allocations: 88.8 kB / 442.3 MB, free: 1.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.2239, allocations: 7.875 kB / 442.3 MB, free: 1.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.2243, allocations: 117.6 kB / 442.4 MB, free: 1.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.2246, allocations: 55.36 kB / 442.5 MB, free: 1.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.896e-06/0.2246, allocations: 0 / 442.5 MB, free: 1.195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.2247, allocations: 12.5 kB / 442.5 MB, free: 1.18 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.2247, allocations: 0 / 442.5 MB, free: 1.18 MB / 410.7 MB Notification: Performance of Templates: time 0.2828/0.5075, allocations: 116.9 MB / 0.5462 GB, free: 3.352 MB / 410.7 MB " [Timeout remaining time 659] 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: 12.912668160977773]