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.0009101/0.0009102, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008464/0.0008465, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 222.1 MB, free: 5.562 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.3965/0.3965, allocations: 39.99 MB / 310.4 MB, free: 10.05 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.0005721/0.0005724, allocations: 19.98 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1405, allocations: 57.95 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.000636/0.1412, allocations: 222.1 kB / 437 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.1443, allocations: 2.129 MB / 439.1 MB, free: 236 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-06/0.1444, allocations: 0 / 439.1 MB, free: 236 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.881e-06/0.1444, allocations: 0 / 439.1 MB, free: 236 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.154e-06/0.1444, allocations: 4 kB / 439.1 MB, free: 232 kB / 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.002011/0.1464, allocations: 0.5185 MB / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.37e-05/0.1464, allocations: 3.984 kB / 439.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.1465, allocations: 4 kB / 439.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.1466, allocations: 7.984 kB / 439.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.1466, allocations: 4 kB / 439.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-06/0.1466, allocations: 3.938 kB / 439.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008421/0.1475, allocations: 0.5657 MB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-06/0.1475, allocations: 0 / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1475, allocations: 25.7 kB / 440.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.148, allocations: 299.5 kB / 440.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.148, allocations: 0 / 440.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.148, allocations: 0 / 440.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.148, allocations: 0 / 440.6 MB, free: 14.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.0004126/0.1485, allocations: 425.1 kB / 441 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1485, allocations: 8.031 kB / 441 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.994e-05/0.1486, allocations: 75.28 kB / 441.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1487, allocations: 234.4 kB / 441.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/0.1488, allocations: 158.6 kB / 441.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.1489, allocations: 150.6 kB / 441.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.149, allocations: 105 kB / 441.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.149, allocations: 83.2 kB / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.1491, allocations: 150.6 kB / 441.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.647e-05/0.1492, allocations: 154.5 kB / 442.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.1493, allocations: 154.6 kB / 442.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.1496, allocations: 449.9 kB / 442.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1497, allocations: 165.1 kB / 442.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.1498, allocations: 84.08 kB / 442.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.1498, allocations: 79.28 kB / 443 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.041e-05/0.1499, allocations: 135.5 kB / 443.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 3.737e-06/0.1499, allocations: 4 kB / 443.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.031e-05/0.15, allocations: 29.64 kB / 443.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.1501, allocations: 156.3 kB / 443.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.769e-05/0.1502, allocations: 89.86 kB / 443.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.1502, allocations: 33.64 kB / 443.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.1503, allocations: 80.14 kB / 443.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.1503, allocations: 0 / 443.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-07/0.1503, allocations: 0 / 443.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1504, allocations: 318.8 kB / 443.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-06/0.1504, allocations: 3.938 kB / 443.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.1505, allocations: 4 kB / 443.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.1505, allocations: 75.28 kB / 443.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.264e-05/0.1506, allocations: 79.28 kB / 444 MB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.312e-05/0.1506, allocations: 29.7 kB / 444 MB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.1507, allocations: 79.28 kB / 444.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.667e-05/0.1507, allocations: 79.22 kB / 444.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.361e-05/0.1508, allocations: 154.6 kB / 444.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.1509, allocations: 83.27 kB / 444.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.027e-05/0.1509, allocations: 154.5 kB / 444.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.843e-05/0.151, allocations: 83.42 kB / 444.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.151, allocations: 79.22 kB / 444.7 MB, free: 10.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.1512, allocations: 268.4 kB / 444.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.1513, allocations: 105 kB / 445.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.1513, allocations: 112.1 kB / 445.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-05/0.1514, allocations: 180.2 kB / 445.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.928e-05/0.1515, allocations: 176.3 kB / 445.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.571e-05/0.1515, allocations: 184.2 kB / 445.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1518, allocations: 409.2 kB / 446.1 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-05/0.1518, allocations: 101 kB / 446.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.1519, allocations: 104.9 kB / 446.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-05/0.1519, allocations: 180.3 kB / 446.5 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.813e-05/0.152, allocations: 180.2 kB / 446.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.006e-05/0.1521, allocations: 184.3 kB / 446.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.364e-05/0.1522, allocations: 184.2 kB / 447 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1523, allocations: 299.8 kB / 447.3 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1524, allocations: 194 kB / 447.5 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.1525, allocations: 180.2 kB / 447.7 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.1526, allocations: 108.9 kB / 447.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.1527, allocations: 184.2 kB / 447.9 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/0.1528, allocations: 105 kB / 448 MB, free: 6.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.296e-05/0.1528, allocations: 75.28 kB / 448.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1528, allocations: 0 / 448.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005564/0.1534, allocations: 136 kB / 448.3 MB, free: 6.605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008157/0.1542, allocations: 407.2 kB / 448.7 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.484e-05/0.1543, allocations: 7.938 kB / 448.7 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1543, allocations: 0 / 448.7 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1543, allocations: 0 / 448.7 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.1547, allocations: 0.5301 MB / 449.2 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000143/0.1549, allocations: 157.9 kB / 449.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1551, allocations: 0.6692 MB / 450 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.3e-06/0.1551, allocations: 0 / 450 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.003e-05/0.1551, allocations: 7.438 kB / 450 MB, free: 4.781 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1551, allocations: 0 / 450 MB, free: 4.781 MB / 382.1 MB Notification: Performance of Templates: time 0.007058/0.1622, allocations: 3.065 MB / 453.1 MB, free: 1.715 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: