Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002877/0.002877, allocations: 370.7 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.939/3.939, allocations: 388.9 MB / 405.6 MB, free: 47.96 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003565/0.003564, allocations: 240.6 kB / 451 MB, free: 2.426 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.874/0.874, allocations: 80.01 MB / 0.5627 GB, free: 6.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007226/0.0007226, allocations: 12 kB / 0.6265 GB, free: 4.852 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1616, allocations: 54.89 MB / 0.6801 GB, free: 13.82 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.000851/0.1625, allocations: 216.7 kB / 0.6803 GB, free: 13.61 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.1664, allocations: 1.514 MB / 0.6818 GB, free: 12.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.1665, allocations: 0 / 0.6818 GB, free: 12.08 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.1666, allocations: 0 / 0.6818 GB, free: 12.08 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.1666, allocations: 4 kB / 0.6818 GB, free: 12.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.1681, allocations: 239.5 kB / 0.682 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.822e-05/0.1681, allocations: 0 / 0.682 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.1682, allocations: 4 kB / 0.682 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1682, allocations: 3.984 kB / 0.682 GB, free: 11.83 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.124e-05/0.1683, allocations: 3.938 kB / 0.682 GB, free: 11.83 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.1683, allocations: 0 / 0.682 GB, free: 11.83 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1696, allocations: 451 kB / 0.6825 GB, free: 11.39 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.1696, allocations: 0 / 0.6825 GB, free: 11.39 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.1697, allocations: 25.7 kB / 0.6825 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.1703, allocations: 203.7 kB / 0.6827 GB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1703, allocations: 3.938 kB / 0.6827 GB, free: 11.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1704, allocations: 0 / 0.6827 GB, free: 11.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1704, allocations: 0 / 0.6827 GB, free: 11.15 MB / 394.7 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.0005318/0.1709, allocations: 377 kB / 0.683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.171, allocations: 8.031 kB / 0.6831 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1711, allocations: 4 kB / 0.6831 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1712, allocations: 163 kB / 0.6832 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1712, allocations: 3.938 kB / 0.6832 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1713, allocations: 0 / 0.6832 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1714, allocations: 29.7 kB / 0.6832 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1714, allocations: 0 / 0.6832 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1715, allocations: 7.984 kB / 0.6833 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1715, allocations: 7.938 kB / 0.6833 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.316e-05/0.1715, allocations: 7.984 kB / 0.6833 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.1718, allocations: 145.6 kB / 0.6834 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/0.1718, allocations: 18.58 kB / 0.6834 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.1719, allocations: 8.953 kB / 0.6834 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.1719, allocations: 0 / 0.6834 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.917e-05/0.172, allocations: 60.27 kB / 0.6835 GB, free: 10.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.204e-06/0.172, allocations: 0 / 0.6835 GB, free: 10.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002377/0.1723, allocations: 71.23 kB / 0.6836 GB, free: 10.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.1724, allocations: 77.11 kB / 0.6836 GB, free: 9.977 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.1724, allocations: 93.86 kB / 0.6837 GB, free: 9.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1725, allocations: 25.7 kB / 0.6837 GB, free: 9.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.1726, allocations: 84.14 kB / 0.6838 GB, free: 9.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1726, allocations: 0 / 0.6838 GB, free: 9.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.1726, allocations: 0 / 0.6838 GB, free: 9.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1728, allocations: 315 kB / 0.6841 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.1728, allocations: 3.984 kB / 0.6841 GB, free: 9.438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.1728, allocations: 0 / 0.6841 GB, free: 9.438 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.121e-05/0.1729, allocations: 29.7 kB / 0.6842 GB, free: 9.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1729, allocations: 0 / 0.6842 GB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001458/0.1731, allocations: 71.3 kB / 0.6842 GB, free: 9.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.1732, allocations: 29.7 kB / 0.6843 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1732, allocations: 0 / 0.6843 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1732, allocations: 3.984 kB / 0.6843 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.1732, allocations: 4.094 kB / 0.6843 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1732, allocations: 0 / 0.6843 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.1733, allocations: 4 kB / 0.6843 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1733, allocations: 0 / 0.6843 GB, free: 9.273 MB / 394.7 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.0001384/0.1735, allocations: 131.8 kB / 0.6844 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.1735, allocations: 7.953 kB / 0.6844 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.1735, allocations: 7.062 kB / 0.6844 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1736, allocations: 3.938 kB / 0.6844 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1736, allocations: 0 / 0.6844 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.1736, allocations: 85.09 kB / 0.6845 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1737, allocations: 0 / 0.6845 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.349e-05/0.1737, allocations: 4 kB / 0.6845 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.1738, allocations: 0 / 0.6845 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002189/0.174, allocations: 198 kB / 0.6847 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002525/0.1743, allocations: 240.5 kB / 0.6849 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.66e-05/0.1743, allocations: 4.062 kB / 0.6849 GB, free: 8.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.944e-05/0.1744, allocations: 75.28 kB / 0.685 GB, free: 8.449 MB / 394.7 MB Notification: Performance of Backend: time 8.81e-07/0.1744, allocations: 0 / 0.685 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.1758, allocations: 233.5 kB / 0.6852 GB, free: 8.199 MB / 394.7 MB Notification: Performance of SimCode: time 0.0005703/0.1764, allocations: 0.5736 MB / 0.6858 GB, free: 7.566 MB / 394.7 MB Notification: Performance of Templates: time 0.007743/0.1842, allocations: 1.264 MB / 0.687 GB, free: 6.301 MB / 394.7 MB