Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001671/0.001671, allocations: 206.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.7 MB / 246.8 MB, free: 9.746 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1994/0.1994, allocations: 46.19 MB / 345.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 8.281 kB / 419.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 63.56 MB / 483.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.000551/0.1569, allocations: 221.2 kB / 483.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003053/0.1599, allocations: 2.158 MB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-06/0.16, allocations: 0 / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.003e-05/0.16, allocations: 0 / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.294e-06/0.16, allocations: 0 / 485.5 MB, free: 1.711 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574: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.001931/0.1619, allocations: 0.6454 MB / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.714e-05/0.162, allocations: 7.938 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.162, allocations: 0 / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.1621, allocations: 0 / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.197e-05/0.1621, allocations: 3.938 kB / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-06/0.1621, allocations: 0 / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.1641, allocations: 1.408 MB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.1642, allocations: 0 / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1642, allocations: 25.7 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.166, allocations: 1.536 MB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.166, allocations: 3.938 kB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.166, allocations: 0 / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.166, allocations: 4 kB / 489.1 MB, free: 14.07 MB / 366.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.0007509/0.1668, allocations: 413.2 kB / 489.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1668, allocations: 12.88 kB / 489.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.1668, allocations: 4.938 kB / 489.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1669, allocations: 164.4 kB / 489.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.167, allocations: 4.312 kB / 489.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.167, allocations: 4.125 kB / 489.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.708e-05/0.1671, allocations: 29.7 kB / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1671, allocations: 3.984 kB / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.1671, allocations: 0 / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1671, allocations: 0 / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.506e-05/0.1671, allocations: 0 / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.1672, allocations: 157.7 kB / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.306e-05/0.1673, allocations: 22.52 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.1673, allocations: 8.797 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.1673, allocations: 4.094 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.1674, allocations: 56.27 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1674, allocations: 0 / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.1675, allocations: 71.33 kB / 490 MB, free: 12.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1676, allocations: 77.11 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.1677, allocations: 93.86 kB / 490.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.1677, allocations: 25.7 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.1677, allocations: 80.14 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.1677, allocations: 7.844 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.1678, allocations: 13.72 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.1679, allocations: 310.8 kB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.1679, allocations: 128 / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.1679, allocations: 4 kB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.168, allocations: 60.27 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.168, allocations: 0 / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7e-05/0.168, allocations: 75.27 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.1681, allocations: 32.05 kB / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1681, allocations: 0 / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1681, allocations: 0 / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1681, allocations: 0 / 490.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1681, allocations: 8.094 kB / 490.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.1681, allocations: 0 / 490.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1681, allocations: 0 / 490.8 MB, free: 12.1 MB / 366.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 8.75e-05/0.1682, allocations: 143.8 kB / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.1683, allocations: 3.938 kB / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-06/0.1683, allocations: 3.125 kB / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1683, allocations: 0 / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1683, allocations: 0 / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1683, allocations: 0 / 490.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.401e-05/0.1684, allocations: 153.7 kB / 491.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1684, allocations: 7.938 kB / 491.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1684, allocations: 0 / 491.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1684, allocations: 3.938 kB / 491.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.1684, allocations: 0 / 491.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1684, allocations: 0 / 491.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1684, allocations: 0 / 491.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.62e-05/0.1685, allocations: 94.77 kB / 491.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.1686, allocations: 89.02 kB / 491.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.1686, allocations: 0 / 491.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.1686, allocations: 4 kB / 491.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.1686, allocations: 0 / 491.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.1686, allocations: 0 / 491.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.275e-05/0.1686, allocations: 75.28 kB / 491.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.1687, allocations: 0 / 491.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008801/0.1695, allocations: 275.9 kB / 491.6 MB, free: 11.16 MB / 366.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.001415/0.171, allocations: 407 kB / 492 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.1711, allocations: 71.39 kB / 492.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1711, allocations: 0 / 492.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.1711, allocations: 55.34 kB / 492.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.1712, allocations: 7.938 kB / 492.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.1714, allocations: 74.77 kB / 492.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1717, allocations: 0.677 MB / 492.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.382e-06/0.1717, allocations: 0 / 492.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.1717, allocations: 7.562 kB / 492.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1717, allocations: 7.938 kB / 492.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of Templates: time 0.01413/0.1859, allocations: 7.402 MB / 0.4886 GB, free: 2.371 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)