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.00202/0.00202, allocations: 84.34 kB / 20.96 MB, free: 3.445 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.002705/0.002705, allocations: 165.3 kB / 24.26 MB, free: 144 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.533/1.533, allocations: 177.2 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.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.3594/0.3594, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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 2.214e-06/2.214e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.699e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002318/0.002355, allocations: 496.5 kB / 377.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.01491, allocations: 4.581 MB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.01493, allocations: 0 / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.01495, allocations: 3.938 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.154e-06/0.01496, allocations: 0 / 382.3 MB, free: 13.88 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.01555/0.03051, allocations: 3.271 MB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.741e-05/0.03057, allocations: 0 / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.03061, allocations: 4 kB / 385.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.03065, allocations: 3.938 kB / 385.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.03067, allocations: 0 / 385.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.138e-06/0.03068, allocations: 0 / 385.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05737/0.08804, allocations: 19.81 MB / 405.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.08806, allocations: 0 / 405.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.08811, allocations: 4 kB / 405.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.07684/0.165, allocations: 30.71 MB / 436.1 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.165, allocations: 4 kB / 436.1 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.165, allocations: 0 / 436.1 MB, free: 7.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.165, allocations: 0 / 436.1 MB, free: 7.992 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.01041/0.1754, allocations: 0.5943 MB / 436.7 MB, free: 7.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.1755, allocations: 8.031 kB / 436.7 MB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.1755, allocations: 4.938 kB / 436.8 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1757, allocations: 109.4 kB / 436.9 MB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.1757, allocations: 4 kB / 436.9 MB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1757, allocations: 0 / 436.9 MB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1759, allocations: 59.39 kB / 436.9 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1759, allocations: 0 / 436.9 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1759, allocations: 0 / 436.9 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1759, allocations: 0 / 436.9 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.176, allocations: 33.64 kB / 437 MB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.1762, allocations: 101.2 kB / 437.1 MB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1763, allocations: 44.31 kB / 437.1 MB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.1764, allocations: 34.56 kB / 437.1 MB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1764, allocations: 4 kB / 437.1 MB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.269e-05/0.1765, allocations: 64.31 kB / 437.2 MB, free: 6.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.974e-06/0.1765, allocations: 0 / 437.2 MB, free: 6.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003514/0.1768, allocations: 114.8 kB / 437.3 MB, free: 6.652 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/0.1769, allocations: 85.09 kB / 437.4 MB, free: 6.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.177, allocations: 89.86 kB / 437.5 MB, free: 6.453 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.177, allocations: 25.7 kB / 437.5 MB, free: 6.422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.1771, allocations: 84.14 kB / 437.6 MB, free: 6.336 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1771, allocations: 7.891 kB / 437.6 MB, free: 6.328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.1772, allocations: 9.844 kB / 437.6 MB, free: 6.312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.1774, allocations: 322.8 kB / 437.9 MB, free: 5.988 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.1774, allocations: 25.7 kB / 437.9 MB, free: 5.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.1775, allocations: 25.7 kB / 438 MB, free: 5.926 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1776, allocations: 68.25 kB / 438 MB, free: 5.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.1776, allocations: 3.938 kB / 438 MB, free: 5.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001759/0.1778, allocations: 89.05 kB / 438.1 MB, free: 5.734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/0.1778, allocations: 35.73 kB / 438.2 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1778, allocations: 0 / 438.2 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.1779, allocations: 0 / 438.2 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.1779, allocations: 4.094 kB / 438.2 MB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1779, allocations: 3.984 kB / 438.2 MB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.1779, allocations: 4 kB / 438.2 MB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1779, allocations: 0 / 438.2 MB, free: 5.684 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.0001765/0.1781, allocations: 143.5 kB / 438.3 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.1781, allocations: 0 / 438.3 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.375e-05/0.1781, allocations: 7 kB / 438.3 MB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1781, allocations: 0 / 438.3 MB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1781, allocations: 0 / 438.3 MB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1781, allocations: 0 / 438.3 MB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1783, allocations: 101.3 kB / 438.4 MB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.1783, allocations: 3.938 kB / 438.4 MB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-07/0.1783, allocations: 4 kB / 438.4 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1783, allocations: 0 / 438.4 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1783, allocations: 0 / 438.4 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1783, allocations: 0 / 438.4 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1783, allocations: 3.938 kB / 438.4 MB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1785, allocations: 116.5 kB / 438.5 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.1786, allocations: 7.938 kB / 438.6 MB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1786, allocations: 0 / 438.6 MB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.615e-05/0.1786, allocations: 32 / 438.6 MB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.1786, allocations: 4 kB / 438.6 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1786, allocations: 4 kB / 438.6 MB, free: 5.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.733e-05/0.1787, allocations: 75.28 kB / 438.6 MB, free: 5.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1787, allocations: 0 / 438.6 MB, free: 5.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01698/0.1957, allocations: 3.784 MB / 442.4 MB, free: 1.363 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.02176/0.2174, allocations: 1.078 MB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.2176, allocations: 110.8 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2176, allocations: 64 / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.2177, allocations: 89.09 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.2178, allocations: 10.47 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1386/0.3564, allocations: 112.5 kB / 443.8 MB, free: 89.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.3565, allocations: 57.55 kB / 443.9 MB, free: 89.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.775e-06/0.3565, allocations: 0 / 443.9 MB, free: 89.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.3565, allocations: 11.38 kB / 443.9 MB, free: 89.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3565, allocations: 0 / 443.9 MB, free: 89.74 MB / 410.7 MB Notification: Performance of Templates: time 0.1313/0.4878, allocations: 113.6 MB / 0.5444 GB, free: 4.051 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.990382454940118]