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.0009146/0.0009148, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005844/0.005844, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.657/1.657, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.349/0.349, allocations: 40 MB / 310.7 MB, free: 9.91 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.0005586/0.0005586, allocations: 19.98 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1557, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0007406/0.1565, allocations: 226.1 kB / 437.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.1591, allocations: 1.543 MB / 439.2 MB, free: 428 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.123e-05/0.1592, allocations: 0 / 439.2 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.1592, allocations: 0 / 439.2 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.1592, allocations: 0 / 439.2 MB, free: 428 kB / 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.001002/0.1602, allocations: 199.6 kB / 439.4 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.389e-05/0.1603, allocations: 0 / 439.4 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.1603, allocations: 0 / 439.4 MB, free: 228 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.1603, allocations: 4 kB / 439.4 MB, free: 224 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.009e-05/0.1604, allocations: 3.984 kB / 439.4 MB, free: 220 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-06/0.1604, allocations: 4 kB / 439.4 MB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.1615, allocations: 0.6908 MB / 440.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.1615, allocations: 0 / 440.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.1616, allocations: 25.7 kB / 440.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1627, allocations: 0.6395 MB / 440.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1627, allocations: 0 / 440.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1627, allocations: 7.938 kB / 440.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1627, allocations: 0 / 440.7 MB, free: 14.84 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.0006197/0.1633, allocations: 365.3 kB / 441.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1634, allocations: 8.031 kB / 441.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.1634, allocations: 0.9375 kB / 441.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1636, allocations: 164.4 kB / 441.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1636, allocations: 4.375 kB / 441.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.1636, allocations: 384 / 441.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.795e-05/0.1637, allocations: 33.95 kB / 441.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1637, allocations: 4 kB / 441.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1637, allocations: 0 / 441.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1638, allocations: 0 / 441.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.1638, allocations: 7.938 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.164, allocations: 149.7 kB / 441.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.164, allocations: 18.61 kB / 441.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.164, allocations: 4.859 kB / 441.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.1641, allocations: 0 / 441.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.1641, allocations: 64.27 kB / 441.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1641, allocations: 0 / 441.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002149/0.1644, allocations: 75.23 kB / 441.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.1644, allocations: 81.11 kB / 441.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.152e-05/0.1645, allocations: 89.86 kB / 441.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1645, allocations: 25.7 kB / 441.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.1645, allocations: 80.14 kB / 441.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1646, allocations: 3.984 kB / 441.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.1646, allocations: 9.719 kB / 441.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1647, allocations: 310.8 kB / 442.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.1647, allocations: 12.12 kB / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.1648, allocations: 0 / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.1648, allocations: 64.25 kB / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1648, allocations: 7.875 kB / 442.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.454e-05/0.1649, allocations: 59.41 kB / 442.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.165, allocations: 33.64 kB / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.165, allocations: 0 / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.165, allocations: 0 / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.165, allocations: 4.094 kB / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.165, allocations: 0 / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.165, allocations: 7.984 kB / 442.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.165, allocations: 0 / 442.4 MB, free: 12.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.1652, allocations: 135.5 kB / 442.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.1652, allocations: 11.94 kB / 442.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.43e-05/0.1652, allocations: 3.125 kB / 442.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1652, allocations: 0 / 442.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1652, allocations: 0 / 442.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1652, allocations: 4 kB / 442.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.1653, allocations: 145.7 kB / 442.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1653, allocations: 0 / 442.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/0.1654, allocations: 4 kB / 442.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1654, allocations: 3.938 kB / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1654, allocations: 0 / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1654, allocations: 3.938 kB / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1654, allocations: 3.938 kB / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.1655, allocations: 98.81 kB / 442.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.1656, allocations: 77.39 kB / 442.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1656, allocations: 3.938 kB / 442.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.105e-05/0.1656, allocations: 0 / 442.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.1656, allocations: 4 kB / 442.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1656, allocations: 0 / 442.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.718e-05/0.1657, allocations: 75.28 kB / 443 MB, free: 12.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1657, allocations: 0 / 443 MB, free: 12.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006089/0.1663, allocations: 124 kB / 443.1 MB, free: 12.12 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 (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.001027/0.1673, allocations: 178.6 kB / 443.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.1675, allocations: 67.33 kB / 443.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1675, allocations: 8.062 kB / 443.3 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.1675, allocations: 51.41 kB / 443.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.1677, allocations: 4 kB / 443.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.168, allocations: 70.77 kB / 443.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1683, allocations: 0.677 MB / 444.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.375e-06/0.1683, allocations: 0 / 444.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.1683, allocations: 7.438 kB / 444.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1683, allocations: 0 / 444.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01007/0.1784, allocations: 3.904 MB / 448 MB, free: 7.074 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: