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.001318/0.001318, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00162/0.00162, allocations: 192.1 kB / 16.13 MB, free: 6.652 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.506/1.506, allocations: 205.1 MB / 222 MB, free: 4.754 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.3231/0.3231, allocations: 39.94 MB / 309.3 MB, free: 9.297 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.001394/0.001394, allocations: 66.56 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1578, allocations: 56.88 MB / 433.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001809/0.1596, allocations: 0.5441 MB / 434.3 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1621, allocations: 1.562 MB / 435.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.463e-05/0.1622, allocations: 4 kB / 435.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.1623, allocations: 0 / 435.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.683e-06/0.1623, allocations: 0 / 435.9 MB, free: 2.02 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.001113/0.1634, allocations: 199.6 kB / 436.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.1634, allocations: 0 / 436.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.1635, allocations: 4 kB / 436.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.1635, allocations: 0 / 436.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.002e-05/0.1636, allocations: 3.938 kB / 436.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.842e-06/0.1636, allocations: 0 / 436.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.1646, allocations: 0.6986 MB / 436.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.1646, allocations: 0 / 436.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.1646, allocations: 4 kB / 436.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008702/0.1655, allocations: 0.6396 MB / 437.4 MB, free: 484 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1655, allocations: 3.938 kB / 437.5 MB, free: 480 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1655, allocations: 0 / 437.5 MB, free: 480 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1656, allocations: 0 / 437.5 MB, free: 480 kB / 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.0005497/0.1661, allocations: 365.3 kB / 437.8 MB, free: 60 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.1662, allocations: 8.031 kB / 437.8 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.1662, allocations: 4.938 kB / 437.8 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.1664, allocations: 164.3 kB / 438 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1664, allocations: 4.375 kB / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.1664, allocations: 8.359 kB / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1666, allocations: 34 kB / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1666, allocations: 0 / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1666, allocations: 0 / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1666, allocations: 0 / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/0.1666, allocations: 4 kB / 438 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.1669, allocations: 149.7 kB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.1669, allocations: 22.55 kB / 438.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.1669, allocations: 8.797 kB / 438.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.1669, allocations: 0 / 438.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.167, allocations: 64.19 kB / 438.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.167, allocations: 0 / 438.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002875/0.1673, allocations: 71.47 kB / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1674, allocations: 77.11 kB / 438.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.1675, allocations: 93.86 kB / 438.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1675, allocations: 29.64 kB / 438.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.1675, allocations: 80.14 kB / 438.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.1676, allocations: 0 / 438.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.1676, allocations: 17.7 kB / 438.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.1678, allocations: 314.8 kB / 438.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.1678, allocations: 4.031 kB / 438.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.1679, allocations: 0 / 438.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.997e-05/0.168, allocations: 64.2 kB / 439 MB, free: 14.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.168, allocations: 0 / 439 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.266e-05/0.1681, allocations: 67.39 kB / 439.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.1681, allocations: 33.64 kB / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1681, allocations: 0 / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1681, allocations: 0 / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.1681, allocations: 3.938 kB / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1682, allocations: 4.094 kB / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.1682, allocations: 4 kB / 439.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1682, allocations: 0 / 439.1 MB, free: 14.53 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.0001041/0.1683, allocations: 131.5 kB / 439.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.1683, allocations: 7.938 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.437e-05/0.1683, allocations: 7.109 kB / 439.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1683, allocations: 0 / 439.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1684, allocations: 0 / 439.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1684, allocations: 0 / 439.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.1685, allocations: 145.7 kB / 439.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1685, allocations: 4 kB / 439.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1685, allocations: 0 / 439.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1685, allocations: 3.938 kB / 439.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1685, allocations: 3.984 kB / 439.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1685, allocations: 0 / 439.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1685, allocations: 0 / 439.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.933e-05/0.1686, allocations: 90.83 kB / 439.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.1687, allocations: 85.41 kB / 439.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1687, allocations: 11.88 kB / 439.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.1687, allocations: 4 kB / 439.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.1688, allocations: 4 kB / 439.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.1688, allocations: 3.938 kB / 439.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.88e-05/0.1688, allocations: 75.28 kB / 439.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1688, allocations: 0 / 439.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.1693, allocations: 120 kB / 439.8 MB, free: 13.74 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.0008016/0.1701, allocations: 186.8 kB / 440 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.1703, allocations: 59.41 kB / 440 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1703, allocations: 0 / 440 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.1703, allocations: 59.47 kB / 440.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.1705, allocations: 3.984 kB / 440.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.1707, allocations: 82.7 kB / 440.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.171, allocations: 0.6692 MB / 440.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.793e-06/0.171, allocations: 0 / 440.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-06/0.171, allocations: 7.438 kB / 440.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.171, allocations: 0 / 440.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of Templates: time 0.008418/0.1795, allocations: 3.916 MB / 444.8 MB, free: 8.676 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.makefile (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)