Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 103.1 kB / 16.27 MB, free: 5.93 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.001379/0.001379, allocations: 187.9 kB / 17.2 MB, free: 5.574 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.474/1.474, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2535/0.2535, allocations: 43.52 MB / 313.9 MB, free: 0.5039 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: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 69.66 kB / 382.7 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.159, allocations: 57.79 MB / 440.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002308/0.1614, allocations: 489.5 kB / 441 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.1646, allocations: 2.22 MB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-06/0.1646, allocations: 8 kB / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.065e-05/0.1646, allocations: 0 / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.733e-06/0.1646, allocations: 0 / 443.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.1667, allocations: 0.6041 MB / 443.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.1668, allocations: 11.92 kB / 443.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.1668, allocations: 4 kB / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1669, allocations: 11.92 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.167, allocations: 4 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.167, allocations: 4 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009269/0.168, allocations: 0.6008 MB / 444.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.168, allocations: 3.938 kB / 444.5 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.168, allocations: 4 kB / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005655/0.1686, allocations: 419.4 kB / 444.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.1686, allocations: 4 kB / 444.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.1686, allocations: 0 / 444.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.1686, allocations: 0 / 444.9 MB, free: 2.492 MB / 318.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.0005115/0.1692, allocations: 429.2 kB / 445.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.1692, allocations: 11.89 kB / 445.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.1693, allocations: 80.22 kB / 445.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1694, allocations: 239.6 kB / 445.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.1695, allocations: 154.9 kB / 445.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.1695, allocations: 154.7 kB / 445.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.877e-05/0.1696, allocations: 105 kB / 446 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1696, allocations: 79.27 kB / 446.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.1697, allocations: 150.6 kB / 446.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.1697, allocations: 150.6 kB / 446.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.1697, allocations: 158.5 kB / 446.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.17, allocations: 450 kB / 447 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.174e-05/0.1701, allocations: 165.1 kB / 447.2 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/0.1702, allocations: 84.08 kB / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.1702, allocations: 75.28 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.1703, allocations: 143.5 kB / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.1703, allocations: 0 / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.588e-05/0.1704, allocations: 29.64 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.1705, allocations: 152.4 kB / 447.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.308e-05/0.1706, allocations: 93.84 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1706, allocations: 29.7 kB / 447.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.1707, allocations: 80.14 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.1707, allocations: 0 / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.1707, allocations: 17.72 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1709, allocations: 310.8 kB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.1709, allocations: 0 / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.1709, allocations: 4 kB / 448.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.171, allocations: 75.28 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-05/0.171, allocations: 75.28 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.636e-05/0.1711, allocations: 37.58 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.1712, allocations: 95.2 kB / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.615e-05/0.1712, allocations: 79.39 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.1714, allocations: 158.6 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.1715, allocations: 79.22 kB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001364/0.1716, allocations: 154.6 kB / 448.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.1717, allocations: 79.22 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.1718, allocations: 79.22 kB / 449 MB, free: 14.07 MB / 334.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.0001599/0.1719, allocations: 276.3 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/0.172, allocations: 108.9 kB / 449.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.1721, allocations: 108.1 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001195/0.1722, allocations: 176.3 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/0.1723, allocations: 180.2 kB / 449.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001305/0.1725, allocations: 180.3 kB / 450.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.1728, allocations: 409.2 kB / 450.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-05/0.1729, allocations: 104.9 kB / 450.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.173, allocations: 101 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.1731, allocations: 184.2 kB / 450.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.1733, allocations: 180.3 kB / 451 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001571/0.1735, allocations: 184.2 kB / 451.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001218/0.1736, allocations: 184.3 kB / 451.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1739, allocations: 303.8 kB / 451.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.1741, allocations: 190 kB / 451.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.1743, allocations: 184.2 kB / 452 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1744, allocations: 101 kB / 452.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.1745, allocations: 180.3 kB / 452.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.1746, allocations: 108.9 kB / 452.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.299e-05/0.1747, allocations: 75.28 kB / 452.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1747, allocations: 0 / 452.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005772/0.1753, allocations: 128 kB / 452.6 MB, free: 10.27 MB / 334.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.001145/0.1764, allocations: 423.7 kB / 453 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.448e-05/0.1765, allocations: 4 kB / 453 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1765, allocations: 0 / 453 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1765, allocations: 0 / 453 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.1771, allocations: 471.5 kB / 453.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.1773, allocations: 152.3 kB / 453.6 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1776, allocations: 0.669 MB / 454.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.356e-06/0.1776, allocations: 0 / 454.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.1777, allocations: 11.44 kB / 454.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1777, allocations: 0 / 454.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of Templates: time 0.008073/0.1858, allocations: 3.071 MB / 457.4 MB, free: 5.453 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)