Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.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.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001095/0.001095, allocations: 192 kB / 16.25 MB, free: 6.625 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.553/1.553, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.3545/0.3545, allocations: 39.93 MB / 309.4 MB, free: 9.012 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.001425/0.001425, allocations: 71.91 kB / 377.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.144, allocations: 56.89 MB / 434 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001768/0.1458, allocations: 0.5441 MB / 434.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.1495, allocations: 2.233 MB / 436.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-06/0.1495, allocations: 0 / 436.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.671e-06/0.1495, allocations: 0 / 436.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/0.1495, allocations: 4 kB / 436.8 MB, free: 0.9727 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Nonlinear.mo:8:5-85:27:writable] Warning: Pure function ‘Modelica.Math.Nonlinear.Examples.quadratureLobatto1‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Nonlinear.mo:87:5-157:27:writable] Warning: Pure function ‘Modelica.Math.Nonlinear.Examples.quadratureLobatto2‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Nonlinear.mo:159:5-233:33:writable] Warning: Pure function ‘Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Nonlinear.mo:235:5-313:33:writable] Warning: Pure function ‘Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.1521, allocations: 0.5657 MB / 437.3 MB, free: 416 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.844e-05/0.1522, allocations: 8 kB / 437.3 MB, free: 408 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.1522, allocations: 0 / 437.3 MB, free: 408 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.335e-05/0.1523, allocations: 19.91 kB / 437.4 MB, free: 388 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.801e-05/0.1524, allocations: 4 kB / 437.4 MB, free: 384 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-06/0.1524, allocations: 0 / 437.4 MB, free: 384 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008527/0.1533, allocations: 0.6046 MB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-06/0.1533, allocations: 0 / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.1533, allocations: 4 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.1538, allocations: 427.4 kB / 438.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1539, allocations: 0 / 438.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1539, allocations: 3.938 kB / 438.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1539, allocations: 0 / 438.4 MB, free: 15.34 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004452/0.1543, allocations: 421.3 kB / 438.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1544, allocations: 15.89 kB / 438.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.1545, allocations: 76.22 kB / 438.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1547, allocations: 243.7 kB / 439.1 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.1548, allocations: 150.9 kB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.1549, allocations: 154.7 kB / 439.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.019e-05/0.155, allocations: 105 kB / 439.5 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.155, allocations: 79.28 kB / 439.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/0.1551, allocations: 150.6 kB / 439.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.1552, allocations: 154.5 kB / 439.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.855e-05/0.1553, allocations: 154.6 kB / 440.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1557, allocations: 438 kB / 440.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1558, allocations: 173.1 kB / 440.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.1559, allocations: 84.08 kB / 440.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.1559, allocations: 75.28 kB / 440.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.946e-05/0.156, allocations: 143.5 kB / 441 MB, free: 12.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.156, allocations: 0 / 441 MB, free: 12.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.672e-05/0.1561, allocations: 29.7 kB / 441 MB, free: 12.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.1562, allocations: 152.4 kB / 441.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.755e-05/0.1563, allocations: 93.8 kB / 441.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.1563, allocations: 33.7 kB / 441.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.1564, allocations: 80.14 kB / 441.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.1564, allocations: 0 / 441.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1564, allocations: 13.72 kB / 441.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.1567, allocations: 318.8 kB / 441.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-06/0.1567, allocations: 0 / 441.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.1567, allocations: 4 kB / 441.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.1568, allocations: 75.28 kB / 441.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-05/0.1568, allocations: 79.22 kB / 441.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.88e-05/0.1569, allocations: 37.58 kB / 441.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.157, allocations: 79.28 kB / 441.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-05/0.157, allocations: 75.28 kB / 442 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.1571, allocations: 158.6 kB / 442.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.844e-05/0.1572, allocations: 87.3 kB / 442.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.559e-05/0.1573, allocations: 158.5 kB / 442.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.78e-05/0.1574, allocations: 83.31 kB / 442.5 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.1574, allocations: 75.28 kB / 442.6 MB, free: 10.93 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.00015/0.1576, allocations: 264.4 kB / 442.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.1577, allocations: 108.9 kB / 442.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.1577, allocations: 112.1 kB / 443 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.422e-05/0.1578, allocations: 184.2 kB / 443.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-05/0.1579, allocations: 176.3 kB / 443.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.505e-05/0.1579, allocations: 176.3 kB / 443.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1582, allocations: 409.2 kB / 444 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-05/0.1583, allocations: 112.9 kB / 444.1 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.1583, allocations: 104.9 kB / 444.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.14e-05/0.1584, allocations: 180.3 kB / 444.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/0.1585, allocations: 180.3 kB / 444.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.934e-05/0.1585, allocations: 180.2 kB / 444.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.807e-05/0.1586, allocations: 184.2 kB / 444.9 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.1588, allocations: 303.8 kB / 445.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1589, allocations: 186 kB / 445.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.159, allocations: 188.2 kB / 445.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.159, allocations: 109 kB / 445.6 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.1591, allocations: 184.2 kB / 445.8 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.1592, allocations: 104.9 kB / 445.9 MB, free: 7.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.035e-05/0.1592, allocations: 75.28 kB / 446 MB, free: 7.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1592, allocations: 0 / 446 MB, free: 7.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004772/0.1597, allocations: 132 kB / 446.1 MB, free: 7.125 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0008027/0.1605, allocations: 409.2 kB / 446.5 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.091e-05/0.1606, allocations: 7.938 kB / 446.5 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1606, allocations: 0 / 446.5 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.1606, allocations: 0 / 446.5 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1609, allocations: 467.6 kB / 447 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001352/0.161, allocations: 156.1 kB / 447.1 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1613, allocations: 0.669 MB / 447.8 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.064e-06/0.1613, allocations: 0 / 447.8 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.1613, allocations: 7.438 kB / 447.8 MB, free: 5.379 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1613, allocations: 0 / 447.8 MB, free: 5.379 MB / 382.1 MB Notification: Performance of Templates: time 0.006919/0.1683, allocations: 3.081 MB / 450.9 MB, free: 2.297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe 2>&1)