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.0008822/0.0008823, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 169.7 kB / 16.58 MB, free: 6.062 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.728/1.728, allocations: 205.4 MB / 222.8 MB, free: 5.598 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.4266/0.4266, allocations: 43.57 MB / 314.6 MB, free: 8.762 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.0005434/0.0005434, allocations: 12 kB / 383.9 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1524, allocations: 58.86 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0007151/0.1532, allocations: 220.4 kB / 443 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.1563, allocations: 2.052 MB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.1563, allocations: 0 / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.1564, allocations: 0 / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-06/0.1564, allocations: 0 / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1584, allocations: 0.6355 MB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.067e-05/0.1585, allocations: 0 / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.1585, allocations: 0 / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.1586, allocations: 3.938 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.1586, allocations: 4 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.1586, allocations: 0 / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.1608, allocations: 1.342 MB / 447.1 MB, free: 8.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.948e-06/0.1608, allocations: 4 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.1609, allocations: 29.7 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.1624, allocations: 1.15 MB / 448.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1624, allocations: 0 / 448.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1624, allocations: 0 / 448.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1624, allocations: 0 / 448.2 MB, free: 7.562 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.0009267/0.1634, allocations: 413.1 kB / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1634, allocations: 8.031 kB / 448.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.1635, allocations: 3.953 kB / 448.7 MB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1636, allocations: 167.1 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1636, allocations: 0 / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1636, allocations: 7.938 kB / 448.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.1637, allocations: 29.64 kB / 448.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1638, allocations: 0 / 448.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1638, allocations: 0 / 448.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1638, allocations: 4 kB / 448.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.1638, allocations: 11.89 kB / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.164, allocations: 149.7 kB / 449 MB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.326e-05/0.1641, allocations: 18.61 kB / 449 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.1641, allocations: 4.859 kB / 449 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.1641, allocations: 0 / 449 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/0.1642, allocations: 64.2 kB / 449.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.1642, allocations: 0 / 449.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002377/0.1644, allocations: 63.45 kB / 449.2 MB, free: 6.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.1645, allocations: 81.23 kB / 449.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/0.1646, allocations: 89.86 kB / 449.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1646, allocations: 29.7 kB / 449.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.1646, allocations: 80.14 kB / 449.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1646, allocations: 288 / 449.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-06/0.1646, allocations: 0 / 449.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1648, allocations: 318.8 kB / 449.8 MB, free: 5.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-06/0.1648, allocations: 0 / 449.8 MB, free: 5.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.214e-06/0.1648, allocations: 4 kB / 449.8 MB, free: 5.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.1648, allocations: 29.77 kB / 449.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1648, allocations: 0 / 449.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.307e-05/0.1649, allocations: 67.33 kB / 449.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.165, allocations: 29.7 kB / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.165, allocations: 0 / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.165, allocations: 0 / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/0.165, allocations: 0 / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.165, allocations: 4 kB / 449.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.1651, allocations: 3.938 kB / 449.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1651, allocations: 4.031 kB / 449.9 MB, free: 5.652 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1652, allocations: 151.5 kB / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.1652, allocations: 0 / 450 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.1652, allocations: 3.125 kB / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1652, allocations: 0 / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1652, allocations: 0 / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1652, allocations: 0 / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.1654, allocations: 153.6 kB / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1654, allocations: 0 / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.1654, allocations: 0 / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1654, allocations: 7.938 kB / 450.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1654, allocations: 3.938 kB / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1654, allocations: 0 / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1654, allocations: 0 / 450.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.1655, allocations: 102.7 kB / 450.3 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.1656, allocations: 77.11 kB / 450.4 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1656, allocations: 0 / 450.4 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.378e-05/0.1656, allocations: 12.03 kB / 450.4 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.1656, allocations: 0 / 450.4 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1656, allocations: 0 / 450.4 MB, free: 5.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.67e-05/0.1657, allocations: 75.28 kB / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1657, allocations: 0 / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001173/0.1668, allocations: 272 kB / 450.7 MB, free: 4.703 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001681/0.1685, allocations: 402 kB / 451.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.1687, allocations: 67.33 kB / 451.2 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1687, allocations: 0 / 451.2 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.1687, allocations: 55.47 kB / 451.2 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1688, allocations: 11.75 kB / 451.3 MB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.1691, allocations: 90.53 kB / 451.3 MB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1693, allocations: 0.6731 MB / 452 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.005e-06/0.1693, allocations: 0 / 452 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.1693, allocations: 7.438 kB / 452 MB, free: 3.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1693, allocations: 0 / 452 MB, free: 3.34 MB / 382.1 MB Notification: Performance of Templates: time 0.2455/0.4149, allocations: 7.566 MB / 459.6 MB, free: 44.45 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)