Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007772/0.0007773, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001077/0.001077, allocations: 168.7 kB / 15.95 MB, free: 200 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.697/1.697, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4115/0.4115, allocations: 40 MB / 310.4 MB, free: 9.98 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.0006183/0.0006185, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1609, allocations: 57.96 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0008096/0.1618, allocations: 222.1 kB / 437 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.164, allocations: 1.508 MB / 438.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.164, allocations: 0 / 438.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.1641, allocations: 0 / 438.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.975e-06/0.1641, allocations: 0 / 438.5 MB, free: 0.8281 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:575:3-609:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008627/0.1649, allocations: 203.6 kB / 438.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.659e-05/0.165, allocations: 0 / 438.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.165, allocations: 0 / 438.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.1651, allocations: 0 / 438.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.26e-05/0.1651, allocations: 3.938 kB / 438.7 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.1651, allocations: 3.938 kB / 438.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1661, allocations: 0.6752 MB / 439.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-06/0.1661, allocations: 0 / 439.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.1662, allocations: 25.7 kB / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.1666, allocations: 447.3 kB / 439.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1666, allocations: 4 kB / 439.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1666, allocations: 0 / 439.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1667, allocations: 4 kB / 439.9 MB, free: 15.46 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.0004529/0.1671, allocations: 365.1 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1672, allocations: 8.031 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.1672, allocations: 0 / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1673, allocations: 163.1 kB / 440.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1674, allocations: 4 kB / 440.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.1674, allocations: 0 / 440.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1675, allocations: 33.64 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1675, allocations: 0 / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1675, allocations: 0 / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1675, allocations: 7.953 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.081e-05/0.1676, allocations: 0 / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.1678, allocations: 145.7 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.1678, allocations: 22.61 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.1678, allocations: 4.859 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.1678, allocations: 4 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.1679, allocations: 56.27 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.1679, allocations: 7.875 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002078/0.1681, allocations: 67.36 kB / 440.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.1682, allocations: 85.06 kB / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.1683, allocations: 97.8 kB / 440.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1683, allocations: 25.7 kB / 440.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.1683, allocations: 84.27 kB / 441 MB, free: 14.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1684, allocations: 0 / 441 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-06/0.1684, allocations: 0 / 441 MB, free: 14.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.1686, allocations: 310.8 kB / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-06/0.1686, allocations: 0 / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-06/0.1686, allocations: 4 kB / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.1687, allocations: 25.7 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1687, allocations: 0 / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.54e-05/0.1688, allocations: 75.39 kB / 441.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.1688, allocations: 29.7 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1688, allocations: 0 / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1688, allocations: 0 / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.755e-06/0.1689, allocations: 4 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1689, allocations: 0 / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.1689, allocations: 3.953 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1689, allocations: 0 / 441.5 MB, free: 13.61 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.0001385/0.169, allocations: 139.5 kB / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.1691, allocations: 4.031 kB / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.1691, allocations: 3.125 kB / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1691, allocations: 0 / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1691, allocations: 0 / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1691, allocations: 0 / 441.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.1692, allocations: 157.6 kB / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1692, allocations: 0 / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.1692, allocations: 0 / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1692, allocations: 3.984 kB / 441.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1693, allocations: 4 kB / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1693, allocations: 0 / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.1693, allocations: 4 kB / 441.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.1694, allocations: 102.7 kB / 441.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.1694, allocations: 77.39 kB / 441.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1694, allocations: 3.938 kB / 441.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.1695, allocations: 4 kB / 442 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.1695, allocations: 0 / 442 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1695, allocations: 0 / 442 MB, free: 13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.322e-05/0.1695, allocations: 79.31 kB / 442 MB, free: 12.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1695, allocations: 0 / 442 MB, free: 12.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.17, allocations: 120 kB / 442.1 MB, free: 12.81 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.0006694/0.1706, allocations: 182.9 kB / 442.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.335e-05/0.1707, allocations: 59.34 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1707, allocations: 0 / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.1708, allocations: 59.39 kB / 442.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1709, allocations: 3.953 kB / 442.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.1711, allocations: 78.77 kB / 442.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1714, allocations: 0.6692 MB / 443.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.52e-06/0.1714, allocations: 4.125 kB / 443.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-06/0.1714, allocations: 7.438 kB / 443.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1714, allocations: 0 / 443.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of Templates: time 0.00806/0.1795, allocations: 4.137 MB / 447.3 MB, free: 7.531 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe 2>&1) Environment - environmentSimulation: