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.002/0.002001, allocations: 101.3 kB / 15.98 MB, free: 6.344 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.001843/0.001843, allocations: 194.2 kB / 16.91 MB, free: 6.184 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.672/1.672, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3767/0.3767, allocations: 43.49 MB / 313.6 MB, free: 8.52 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: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.91 kB / 382.2 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1536, allocations: 57.79 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002024/0.1557, allocations: 0.562 MB / 440.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.1596, allocations: 2.129 MB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.1597, allocations: 4 kB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.1597, allocations: 3.938 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.424e-06/0.1597, allocations: 0 / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.1619, allocations: 0.6668 MB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.247e-05/0.162, allocations: 0 / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.162, allocations: 11.92 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.162, allocations: 0 / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.181e-05/0.1621, allocations: 3.984 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-06/0.1621, allocations: 0 / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.164, allocations: 1.412 MB / 444.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.164, allocations: 0 / 444.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.1641, allocations: 0 / 444.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.1657, allocations: 1.544 MB / 446.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1658, allocations: 0 / 446.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1658, allocations: 0 / 446.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1658, allocations: 0 / 446.3 MB, free: 8.379 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.0006876/0.1665, allocations: 417.3 kB / 446.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.1665, allocations: 15.89 kB / 446.8 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.1666, allocations: 0.9375 kB / 446.8 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1667, allocations: 160.4 kB / 446.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1667, allocations: 4.312 kB / 446.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1667, allocations: 4.125 kB / 446.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.1669, allocations: 33.69 kB / 447 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1669, allocations: 0 / 447 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1669, allocations: 4 kB / 447 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1669, allocations: 4 kB / 447 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/0.1669, allocations: 0 / 447 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.1671, allocations: 149.6 kB / 447.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.425e-05/0.1672, allocations: 18.56 kB / 447.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.1672, allocations: 8.797 kB / 447.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1672, allocations: 4.094 kB / 447.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.1673, allocations: 64.27 kB / 447.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1673, allocations: 0 / 447.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002254/0.1675, allocations: 63.34 kB / 447.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.1676, allocations: 81.09 kB / 447.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.1676, allocations: 89.86 kB / 447.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1677, allocations: 25.7 kB / 447.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.1677, allocations: 80.14 kB / 447.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.1677, allocations: 288 / 447.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.1678, allocations: 17.84 kB / 447.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1679, allocations: 314.8 kB / 447.9 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.1679, allocations: 4 kB / 447.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.1679, allocations: 4 kB / 447.9 MB, free: 6.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.168, allocations: 56.27 kB / 447.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.168, allocations: 4 kB / 447.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.457e-05/0.1681, allocations: 71.27 kB / 448 MB, free: 6.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.1681, allocations: 33.7 kB / 448 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1682, allocations: 8.031 kB / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1682, allocations: 0 / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1682, allocations: 0 / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1682, allocations: 0 / 448 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.1682, allocations: 3.938 kB / 448 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1682, allocations: 0 / 448 MB, free: 6.398 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.0001621/0.1684, allocations: 139.5 kB / 448.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.1684, allocations: 3.938 kB / 448.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.1684, allocations: 7.109 kB / 448.2 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1685, allocations: 7.938 kB / 448.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1685, allocations: 0 / 448.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1685, allocations: 4 kB / 448.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1686, allocations: 145.7 kB / 448.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1686, allocations: 3.938 kB / 448.3 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1686, allocations: 0 / 448.3 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1686, allocations: 0 / 448.3 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1686, allocations: 0 / 448.3 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1687, allocations: 4 kB / 448.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1687, allocations: 0 / 448.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.1688, allocations: 98.77 kB / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.1688, allocations: 85.05 kB / 448.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1689, allocations: 0 / 448.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-06/0.1689, allocations: 0 / 448.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.1689, allocations: 0 / 448.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.1689, allocations: 0 / 448.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.169, allocations: 75.28 kB / 448.6 MB, free: 5.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.169, allocations: 4 kB / 448.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009503/0.1699, allocations: 276 kB / 448.9 MB, free: 5.453 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.001574/0.1715, allocations: 416.5 kB / 449.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.1716, allocations: 67.33 kB / 449.4 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1716, allocations: 0 / 449.4 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.1717, allocations: 59.34 kB / 449.4 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.1718, allocations: 3.938 kB / 449.4 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.1721, allocations: 84.83 kB / 449.5 MB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1723, allocations: 0.6769 MB / 450.2 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.34e-06/0.1723, allocations: 4 kB / 450.2 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/0.1723, allocations: 7.438 kB / 450.2 MB, free: 4.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1724, allocations: 0 / 450.2 MB, free: 4.07 MB / 382.1 MB Notification: Performance of Templates: time 0.2311/0.4035, allocations: 7.425 MB / 457.6 MB, free: 46.54 MB / 382.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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)