Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 193.9 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3395/0.3395, allocations: 39.94 MB / 309.3 MB, free: 9.691 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 70.97 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1465, allocations: 56.88 MB / 433.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002205/0.1488, allocations: 0.5519 MB / 434.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.1525, allocations: 2.194 MB / 436.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.1526, allocations: 0 / 436.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.1526, allocations: 0 / 436.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.134e-06/0.1527, allocations: 0 / 436.5 MB, free: 1.652 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:484:3-573:17:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2b‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.1548, allocations: 0.6433 MB / 437.2 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.1549, allocations: 4 kB / 437.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.1549, allocations: 0 / 437.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.1549, allocations: 0 / 437.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.205e-05/0.155, allocations: 0 / 437.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.155, allocations: 0 / 437.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.1575, allocations: 1.396 MB / 438.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.1575, allocations: 0 / 438.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.1576, allocations: 7.938 kB / 438.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.1593, allocations: 1.54 MB / 440.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1594, allocations: 0 / 440.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1594, allocations: 0 / 440.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1594, allocations: 4 kB / 440.1 MB, free: 14.05 MB / 382.1 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.0006242/0.16, allocations: 417.3 kB / 440.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1601, allocations: 12.03 kB / 440.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.1601, allocations: 0.9375 kB / 440.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1602, allocations: 160.4 kB / 440.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1602, allocations: 384 / 440.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1603, allocations: 4.125 kB / 440.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1604, allocations: 37.62 kB / 440.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1604, allocations: 0 / 440.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1604, allocations: 3.938 kB / 440.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1604, allocations: 0 / 440.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.1605, allocations: 4 kB / 440.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.1606, allocations: 149.7 kB / 440.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.774e-05/0.1606, allocations: 14.67 kB / 440.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.1607, allocations: 16.78 kB / 440.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.1607, allocations: 0 / 440.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.1607, allocations: 60.2 kB / 441 MB, free: 13.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1607, allocations: 0 / 441 MB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001877/0.1609, allocations: 67.41 kB / 441.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.161, allocations: 77.11 kB / 441.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.459e-05/0.161, allocations: 93.84 kB / 441.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.161, allocations: 29.7 kB / 441.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.1611, allocations: 80.14 kB / 441.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.1611, allocations: 288 / 441.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.1611, allocations: 9.719 kB / 441.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.1612, allocations: 314.8 kB / 441.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.1613, allocations: 8.125 kB / 441.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.1613, allocations: 0 / 441.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.259e-05/0.1613, allocations: 64.2 kB / 441.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1613, allocations: 0 / 441.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.324e-05/0.1614, allocations: 67.33 kB / 441.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.1615, allocations: 33.7 kB / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1615, allocations: 0 / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1615, allocations: 0 / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1615, allocations: 96 / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1615, allocations: 4 kB / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.1615, allocations: 7.938 kB / 441.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.1615, allocations: 4 kB / 441.8 MB, free: 12.07 MB / 382.1 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.0001003/0.1617, allocations: 139.5 kB / 442 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.1617, allocations: 7.938 kB / 442 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.1617, allocations: 3.125 kB / 442 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1617, allocations: 0 / 442 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1617, allocations: 0 / 442 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1617, allocations: 7.984 kB / 442 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1618, allocations: 141.7 kB / 442.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1619, allocations: 11.86 kB / 442.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-06/0.1619, allocations: 7.938 kB / 442.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.1619, allocations: 0 / 442.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1619, allocations: 0 / 442.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1619, allocations: 0 / 442.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1619, allocations: 0 / 442.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.162, allocations: 94.83 kB / 442.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.1621, allocations: 81.05 kB / 442.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1621, allocations: 0 / 442.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.1621, allocations: 0 / 442.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.1621, allocations: 8 kB / 442.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.1621, allocations: 0 / 442.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.419e-05/0.1622, allocations: 79.28 kB / 442.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1622, allocations: 0 / 442.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009632/0.1632, allocations: 272 kB / 442.7 MB, free: 11.13 MB / 382.1 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.001424/0.1646, allocations: 409.7 kB / 443.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1647, allocations: 67.33 kB / 443.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1647, allocations: 0 / 443.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.1648, allocations: 59.41 kB / 443.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.1649, allocations: 7.938 kB / 443.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.1652, allocations: 78.61 kB / 443.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1654, allocations: 0.677 MB / 444 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.443e-06/0.1655, allocations: 0 / 444 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.1655, allocations: 7.438 kB / 444 MB, free: 9.762 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1655, allocations: 4.125 kB / 444 MB, free: 9.758 MB / 382.1 MB Notification: Performance of Templates: time 0.01486/0.1804, allocations: 7.422 MB / 451.4 MB, free: 2.324 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)