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.001123/0.001123, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001166/0.001167, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3607/0.3607, allocations: 40 MB / 310.4 MB, free: 9.855 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.0005787/0.0005789, allocations: 20 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1547, allocations: 57.95 MB / 436.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0008857/0.1557, allocations: 226 kB / 437 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.159, allocations: 2.043 MB / 439.1 MB, free: 336 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.159, allocations: 0 / 439.1 MB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.159, allocations: 0 / 439.1 MB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.674e-06/0.159, allocations: 0 / 439.1 MB, free: 336 kB / 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.001991/0.161, allocations: 0.6355 MB / 439.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.775e-05/0.1611, allocations: 4 kB / 439.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.269e-05/0.1611, allocations: 0 / 439.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.1612, allocations: 0 / 439.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/0.1613, allocations: 11.92 kB / 439.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.1613, allocations: 0 / 439.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.1635, allocations: 1.346 MB / 441 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.1635, allocations: 7.938 kB / 441.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.1636, allocations: 25.7 kB / 441.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1647, allocations: 1.143 MB / 442.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1647, allocations: 4 kB / 442.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1647, allocations: 0 / 442.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1647, allocations: 0 / 442.2 MB, free: 13.14 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.0005474/0.1652, allocations: 413 kB / 442.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1653, allocations: 12.03 kB / 442.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.1653, allocations: 11.92 kB / 442.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1655, allocations: 159.1 kB / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1655, allocations: 0 / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1655, allocations: 0 / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.792e-05/0.1656, allocations: 29.7 kB / 442.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.1656, allocations: 0 / 442.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1656, allocations: 3.953 kB / 442.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1656, allocations: 0 / 442.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.918e-05/0.1657, allocations: 0 / 442.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.1658, allocations: 153.7 kB / 443 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.1659, allocations: 22.52 kB / 443 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.1659, allocations: 8.953 kB / 443 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.1659, allocations: 0 / 443 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.166, allocations: 56.27 kB / 443.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.166, allocations: 0 / 443.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002191/0.1662, allocations: 63.39 kB / 443.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.1663, allocations: 93.12 kB / 443.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.1664, allocations: 89.86 kB / 443.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.1664, allocations: 25.7 kB / 443.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.1665, allocations: 80.14 kB / 443.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1665, allocations: 288 / 443.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.1665, allocations: 4 kB / 443.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.1668, allocations: 310.8 kB / 443.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.1668, allocations: 0 / 443.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.1668, allocations: 4 kB / 443.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.1669, allocations: 29.7 kB / 443.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1669, allocations: 3.984 kB / 443.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.36e-05/0.167, allocations: 59.41 kB / 443.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.1671, allocations: 33.7 kB / 443.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1671, allocations: 0 / 443.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1671, allocations: 0 / 443.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-06/0.1671, allocations: 7.938 kB / 443.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1671, allocations: 0 / 443.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.1672, allocations: 7.984 kB / 443.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1672, allocations: 11.94 kB / 443.9 MB, free: 11.22 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.0001425/0.1674, allocations: 139.5 kB / 444 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.1674, allocations: 0 / 444 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.43e-05/0.1674, allocations: 3.125 kB / 444 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1674, allocations: 4 kB / 444 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1674, allocations: 0 / 444 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1674, allocations: 0 / 444 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1676, allocations: 149.6 kB / 444.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1676, allocations: 0 / 444.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1676, allocations: 4 kB / 444.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1676, allocations: 0 / 444.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1676, allocations: 8 kB / 444.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1676, allocations: 0 / 444.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1676, allocations: 0 / 444.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.1678, allocations: 94.78 kB / 444.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.1678, allocations: 77.11 kB / 444.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1679, allocations: 0 / 444.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-06/0.1679, allocations: 4.031 kB / 444.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.1679, allocations: 0 / 444.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.1679, allocations: 7.938 kB / 444.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.185e-05/0.168, allocations: 75.28 kB / 444.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.168, allocations: 0 / 444.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001108/0.1691, allocations: 272 kB / 444.7 MB, free: 10.29 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.001485/0.1706, allocations: 425.8 kB / 445.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1708, allocations: 63.39 kB / 445.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1708, allocations: 4.062 kB / 445.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/0.1709, allocations: 55.41 kB / 445.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1711, allocations: 3.953 kB / 445.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.1714, allocations: 82.66 kB / 445.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1717, allocations: 0.6692 MB / 446 MB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.348e-06/0.1718, allocations: 0 / 446 MB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.1718, allocations: 11.44 kB / 446 MB, free: 8.922 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1718, allocations: 3.938 kB / 446 MB, free: 8.918 MB / 382.1 MB Notification: Performance of Templates: time 0.01763/0.1894, allocations: 7.577 MB / 453.6 MB, free: 1.328 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: