Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.001181, allocations: 107.4 kB / 17.03 MB, free: 6.102 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.001256/0.001256, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.567/1.567, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2359/0.2359, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 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: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 73.62 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1535, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002161/0.1557, allocations: 494.7 kB / 442.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.1584, allocations: 2.134 MB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.1584, allocations: 3.938 kB / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.1585, allocations: 0 / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.1585, allocations: 3.938 kB / 444.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.1601, allocations: 0.716 MB / 445.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.1602, allocations: 4 kB / 445.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.1602, allocations: 3.984 kB / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.1603, allocations: 0 / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.037e-05/0.1603, allocations: 0 / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.1603, allocations: 0 / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.1619, allocations: 1.502 MB / 446.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.1619, allocations: 0 / 446.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.162, allocations: 11.92 kB / 446.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.1633, allocations: 1.548 MB / 448.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1634, allocations: 0 / 448.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1634, allocations: 0 / 448.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1634, allocations: 0 / 448.4 MB, free: 15.73 MB / 334.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.0007519/0.1641, allocations: 417.3 kB / 448.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1642, allocations: 15.89 kB / 448.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1642, allocations: 0.9375 kB / 448.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.1644, allocations: 164.3 kB / 449 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1644, allocations: 4.312 kB / 449 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1644, allocations: 4.125 kB / 449 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1646, allocations: 33.69 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1646, allocations: 0 / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1646, allocations: 4 kB / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1646, allocations: 0 / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.1646, allocations: 0 / 449 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.1648, allocations: 145.7 kB / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.1649, allocations: 30.44 kB / 449.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.1649, allocations: 12.89 kB / 449.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.1649, allocations: 0 / 449.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.94e-05/0.165, allocations: 60.27 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.165, allocations: 0 / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002147/0.1652, allocations: 59.41 kB / 449.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1653, allocations: 85.09 kB / 449.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.294e-05/0.1654, allocations: 89.86 kB / 449.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1654, allocations: 25.7 kB / 449.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.1654, allocations: 80.14 kB / 449.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.1655, allocations: 4 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1655, allocations: 9.844 kB / 449.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1657, allocations: 314.8 kB / 449.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.1657, allocations: 3.938 kB / 449.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.1657, allocations: 4 kB / 449.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.444e-05/0.1658, allocations: 64.27 kB / 450 MB, free: 13.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1658, allocations: 0 / 450 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.25e-05/0.1658, allocations: 63.33 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.1659, allocations: 33.7 kB / 450.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1659, allocations: 4.094 kB / 450.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1659, allocations: 0 / 450.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.1659, allocations: 0 / 450.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.166, allocations: 0 / 450.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.166, allocations: 0 / 450.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.166, allocations: 4 kB / 450.1 MB, free: 13.75 MB / 334.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.0001884/0.1662, allocations: 147.3 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.1662, allocations: 7.922 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.1662, allocations: 7.125 kB / 450.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1662, allocations: 8 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1663, allocations: 0 / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1663, allocations: 0 / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1664, allocations: 149.7 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-05/0.1665, allocations: 3.938 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1665, allocations: 0 / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1665, allocations: 0 / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1665, allocations: 8 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1665, allocations: 3.938 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1665, allocations: 0 / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1666, allocations: 94.83 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.1667, allocations: 81.05 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1667, allocations: 0 / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-06/0.1667, allocations: 0 / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.1667, allocations: 0 / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1667, allocations: 7.938 kB / 450.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.505e-05/0.1668, allocations: 75.28 kB / 450.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1668, allocations: 0 / 450.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008916/0.1677, allocations: 276 kB / 450.9 MB, free: 12.79 MB / 334.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.00139/0.1691, allocations: 411.3 kB / 451.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1692, allocations: 59.41 kB / 451.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1692, allocations: 0 / 451.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.591e-05/0.1693, allocations: 55.41 kB / 451.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1694, allocations: 3.938 kB / 451.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.1697, allocations: 80.97 kB / 451.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.17, allocations: 0.6691 MB / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.012e-05/0.17, allocations: 4 kB / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.1701, allocations: 15.38 kB / 452.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1701, allocations: 3.938 kB / 452.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of Templates: time 0.01471/0.1848, allocations: 7.304 MB / 459.5 MB, free: 4.125 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)