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.001316/0.001316, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001647, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.1 MB / 222.4 MB, free: 4.586 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.3891/0.3891, allocations: 39.93 MB / 309.7 MB, free: 9.258 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.003018/0.003018, allocations: 64.42 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1459, allocations: 56.89 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002038/0.148, allocations: 494.8 kB / 435 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.1512, allocations: 2.228 MB / 437.2 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-06/0.1513, allocations: 0 / 437.2 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.978e-06/0.1513, allocations: 0 / 437.2 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.062e-06/0.1513, allocations: 0 / 437.2 MB, free: 0.957 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.002123/0.1534, allocations: 0.6159 MB / 437.8 MB, free: 348 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.16e-05/0.1535, allocations: 11.98 kB / 437.8 MB, free: 336 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.1535, allocations: 4 kB / 437.8 MB, free: 332 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.234e-05/0.1536, allocations: 4 kB / 437.8 MB, free: 328 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.1536, allocations: 7.984 kB / 437.8 MB, free: 320 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-06/0.1536, allocations: 0 / 437.8 MB, free: 320 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009475/0.1546, allocations: 0.6085 MB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.1546, allocations: 0 / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.1546, allocations: 4 kB / 438.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.1552, allocations: 423.4 kB / 438.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1552, allocations: 0 / 438.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1552, allocations: 0 / 438.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1552, allocations: 0 / 438.9 MB, free: 15.29 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.0004174/0.1557, allocations: 429.2 kB / 439.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1557, allocations: 11.89 kB / 439.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.1558, allocations: 80.22 kB / 439.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1559, allocations: 239.7 kB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/0.156, allocations: 150.9 kB / 439.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.156, allocations: 158.7 kB / 439.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.004e-05/0.1561, allocations: 104.9 kB / 440 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.1561, allocations: 75.28 kB / 440.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.1562, allocations: 154.6 kB / 440.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.1562, allocations: 150.6 kB / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/0.1563, allocations: 154.6 kB / 440.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.1565, allocations: 445.9 kB / 441 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.1566, allocations: 173.1 kB / 441.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.1567, allocations: 96.06 kB / 441.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.1567, allocations: 75.28 kB / 441.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.076e-05/0.1568, allocations: 135.5 kB / 441.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1568, allocations: 0 / 441.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.877e-05/0.1569, allocations: 25.7 kB / 441.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.157, allocations: 156.4 kB / 441.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.673e-05/0.157, allocations: 97.84 kB / 441.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1571, allocations: 29.7 kB / 441.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.1571, allocations: 80.14 kB / 441.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.1571, allocations: 3.938 kB / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1571, allocations: 13.72 kB / 441.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.1572, allocations: 310.8 kB / 442.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-06/0.1572, allocations: 7.938 kB / 442.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.1573, allocations: 8 kB / 442.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.1573, allocations: 75.28 kB / 442.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.176e-05/0.1573, allocations: 75.28 kB / 442.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.819e-05/0.1574, allocations: 33.64 kB / 442.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.1574, allocations: 83.27 kB / 442.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.1575, allocations: 79.22 kB / 442.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.963e-05/0.1575, allocations: 150.6 kB / 442.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.647e-05/0.1576, allocations: 87.31 kB / 442.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.587e-05/0.1576, allocations: 154.5 kB / 442.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.1577, allocations: 75.28 kB / 443 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.1577, allocations: 79.22 kB / 443 MB, free: 10.86 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.0001153/0.1579, allocations: 260.4 kB / 443.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.1579, allocations: 112.9 kB / 443.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.158, allocations: 112.1 kB / 443.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-05/0.158, allocations: 180.2 kB / 443.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.357e-05/0.1581, allocations: 176.3 kB / 443.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.903e-05/0.1582, allocations: 184.2 kB / 444 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.1584, allocations: 397.2 kB / 444.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.73e-05/0.1585, allocations: 116.9 kB / 444.5 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.1585, allocations: 104.9 kB / 444.6 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.699e-05/0.1586, allocations: 180.3 kB / 444.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.1587, allocations: 184.2 kB / 445 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.435e-05/0.1587, allocations: 176.3 kB / 445.2 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-05/0.1588, allocations: 176.3 kB / 445.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.1589, allocations: 311.8 kB / 445.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.159, allocations: 190 kB / 445.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.1591, allocations: 176.3 kB / 446 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.1592, allocations: 105 kB / 446.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.1593, allocations: 188.2 kB / 446.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.1593, allocations: 108.9 kB / 446.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.384e-05/0.1594, allocations: 75.28 kB / 446.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.1594, allocations: 0 / 446.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005566/0.1599, allocations: 131.9 kB / 446.6 MB, free: 7.066 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.0007681/0.1607, allocations: 416.5 kB / 447 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.069e-05/0.1608, allocations: 4.453 kB / 447 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1608, allocations: 0 / 447 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-06/0.1608, allocations: 4 kB / 447 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1611, allocations: 467.6 kB / 447.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001511/0.1613, allocations: 156.1 kB / 447.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1616, allocations: 0.669 MB / 448.3 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.824e-06/0.1616, allocations: 0 / 448.3 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.1616, allocations: 11.44 kB / 448.3 MB, free: 5.305 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1616, allocations: 0 / 448.3 MB, free: 5.305 MB / 382.1 MB Notification: Performance of Templates: time 0.007145/0.1687, allocations: 3.07 MB / 451.4 MB, free: 2.234 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)