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.000999/0.0009991, allocations: 89.97 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.009096/0.009096, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.708/1.708, allocations: 205.4 MB / 222.4 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.3682/0.3682, allocations: 40 MB / 310.7 MB, free: 9.605 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.0006332/0.0006333, allocations: 16 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1376, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0006588/0.1383, allocations: 218.1 kB / 437.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.1419, allocations: 2.295 MB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-06/0.142, allocations: 0 / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.639e-06/0.142, allocations: 0 / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.202e-06/0.142, allocations: 4 kB / 439.9 MB, free: 15.38 MB / 382.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.002225/0.1442, allocations: 0.503 MB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.412e-05/0.1443, allocations: 15.97 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.877e-05/0.1443, allocations: 4 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.566e-05/0.1444, allocations: 7.938 kB / 440.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.1445, allocations: 4 kB / 440.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-06/0.1445, allocations: 0 / 440.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.1456, allocations: 0.5969 MB / 441.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.1456, allocations: 3.984 kB / 441.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.1457, allocations: 33.69 kB / 441.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007811/0.1465, allocations: 427.4 kB / 441.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1465, allocations: 0 / 441.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1465, allocations: 0 / 441.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1465, allocations: 0 / 441.5 MB, free: 13.79 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.0005089/0.147, allocations: 421.2 kB / 441.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1471, allocations: 8.031 kB / 441.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.1471, allocations: 76.22 kB / 442 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1473, allocations: 239.7 kB / 442.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.1473, allocations: 162.9 kB / 442.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.1474, allocations: 158.7 kB / 442.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.438e-05/0.1475, allocations: 101 kB / 442.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.1475, allocations: 79.28 kB / 442.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.1476, allocations: 154.5 kB / 442.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.243e-05/0.1476, allocations: 154.6 kB / 443 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.1477, allocations: 150.6 kB / 443.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.148, allocations: 446 kB / 443.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.1481, allocations: 165.1 kB / 443.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.1482, allocations: 92.06 kB / 443.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.1482, allocations: 79.22 kB / 443.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.553e-05/0.1483, allocations: 135.5 kB / 444.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.1483, allocations: 0 / 444.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.104e-05/0.1484, allocations: 29.7 kB / 444.1 MB, free: 11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.1485, allocations: 156.4 kB / 444.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.043e-05/0.1486, allocations: 89.86 kB / 444.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1486, allocations: 29.7 kB / 444.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.1486, allocations: 84.14 kB / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-06/0.1486, allocations: 0 / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.1487, allocations: 9.719 kB / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1488, allocations: 310.8 kB / 444.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-06/0.1488, allocations: 3.938 kB / 444.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.1488, allocations: 3.938 kB / 444.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.115e-05/0.1489, allocations: 83.27 kB / 444.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-05/0.1489, allocations: 79.31 kB / 444.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.528e-05/0.149, allocations: 29.64 kB / 445 MB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.149, allocations: 83.28 kB / 445 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.149, allocations: 75.28 kB / 445.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.396e-05/0.1491, allocations: 154.5 kB / 445.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.633e-05/0.1491, allocations: 79.28 kB / 445.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.403e-05/0.1492, allocations: 162.5 kB / 445.5 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.1493, allocations: 83.33 kB / 445.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.1493, allocations: 79.42 kB / 445.7 MB, free: 9.371 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.0001312/0.1495, allocations: 260.4 kB / 445.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.1495, allocations: 112.9 kB / 446 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.1496, allocations: 108.1 kB / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.142e-05/0.1497, allocations: 188.2 kB / 446.3 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-05/0.1498, allocations: 180.2 kB / 446.5 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.779e-05/0.1498, allocations: 176.3 kB / 446.7 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1501, allocations: 401.2 kB / 447.1 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/0.1501, allocations: 108.9 kB / 447.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.1502, allocations: 108.9 kB / 447.3 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-05/0.1502, allocations: 184.2 kB / 447.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.1503, allocations: 180.3 kB / 447.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-05/0.1504, allocations: 180.2 kB / 447.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.7e-05/0.1504, allocations: 176.3 kB / 448 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.1506, allocations: 311.8 kB / 448.3 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.1507, allocations: 186 kB / 448.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.1508, allocations: 184.3 kB / 448.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.1508, allocations: 109 kB / 448.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.1509, allocations: 184.2 kB / 448.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.151, allocations: 101 kB / 449 MB, free: 5.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.001e-05/0.151, allocations: 79.28 kB / 449.1 MB, free: 5.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.151, allocations: 0 / 449.1 MB, free: 5.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006056/0.1516, allocations: 128 kB / 449.2 MB, free: 5.578 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.001105/0.1528, allocations: 412.9 kB / 449.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.278e-05/0.1528, allocations: 7.938 kB / 449.6 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1529, allocations: 0 / 449.6 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.118e-06/0.1529, allocations: 4 kB / 449.6 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.1533, allocations: 0.5224 MB / 450.2 MB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001712/0.1535, allocations: 146.2 kB / 450.3 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1537, allocations: 0.6692 MB / 451 MB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.412e-06/0.1538, allocations: 7.938 kB / 451 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.1538, allocations: 7.438 kB / 451 MB, free: 3.758 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1538, allocations: 0 / 451 MB, free: 3.758 MB / 382.1 MB Notification: Performance of Templates: time 0.00849/0.1623, allocations: 3.065 MB / 454.1 MB, free: 0.6914 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: