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.001005/0.001005, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001099/0.001099, allocations: 177.3 kB / 15.94 MB, free: 228 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.462/1.462, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.3487/0.3487, allocations: 39.99 MB / 310.4 MB, free: 10.02 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.0006246/0.0006251, allocations: 15.98 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1367, allocations: 57.96 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005984/0.1374, allocations: 220.5 kB / 437 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.1408, allocations: 2.052 MB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-06/0.1409, allocations: 0 / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.027e-06/0.1409, allocations: 4 kB / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.263e-06/0.1409, allocations: 0 / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.1431, allocations: 0.4949 MB / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.601e-05/0.1432, allocations: 11.98 kB / 439.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.1432, allocations: 0 / 439.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.577e-05/0.1433, allocations: 15.86 kB / 439.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.1434, allocations: 4 kB / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-06/0.1434, allocations: 0 / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1445, allocations: 0.5189 MB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-06/0.1445, allocations: 0 / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.1445, allocations: 25.7 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006263/0.1452, allocations: 287.6 kB / 440.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1452, allocations: 0 / 440.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1452, allocations: 0 / 440.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1452, allocations: 0 / 440.4 MB, free: 14.92 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.0004542/0.1457, allocations: 425 kB / 440.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1457, allocations: 12.03 kB / 440.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.121e-05/0.1458, allocations: 79.28 kB / 440.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1459, allocations: 242.3 kB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.146, allocations: 154.6 kB / 441.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.1461, allocations: 150.6 kB / 441.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.381e-05/0.1461, allocations: 101 kB / 441.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.1462, allocations: 83.27 kB / 441.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.1463, allocations: 150.6 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-05/0.1463, allocations: 154.5 kB / 441.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.844e-05/0.1464, allocations: 158.5 kB / 442.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.1467, allocations: 442 kB / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1468, allocations: 169.1 kB / 442.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.1468, allocations: 75.28 kB / 442.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.951e-05/0.1469, allocations: 139.5 kB / 442.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1469, allocations: 0 / 442.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.95e-05/0.147, allocations: 29.64 kB / 442.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.1471, allocations: 160.4 kB / 443 MB, free: 12.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.868e-05/0.1472, allocations: 93.81 kB / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1472, allocations: 29.7 kB / 443.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.1472, allocations: 80.14 kB / 443.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.1472, allocations: 0 / 443.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.1472, allocations: 0 / 443.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1474, allocations: 310.9 kB / 443.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.1474, allocations: 7.938 kB / 443.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.1474, allocations: 4 kB / 443.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.1475, allocations: 83.25 kB / 443.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.09e-05/0.1475, allocations: 75.28 kB / 443.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.588e-05/0.1476, allocations: 37.62 kB / 443.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.1476, allocations: 79.28 kB / 443.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.1477, allocations: 75.28 kB / 443.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.602e-05/0.1477, allocations: 150.6 kB / 444 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.581e-05/0.1478, allocations: 87.22 kB / 444.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-05/0.1478, allocations: 154.6 kB / 444.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.1479, allocations: 79.22 kB / 444.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.1479, allocations: 79.39 kB / 444.4 MB, free: 10.61 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.0001178/0.1481, allocations: 264.4 kB / 444.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.1481, allocations: 108.9 kB / 444.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1482, allocations: 116.1 kB / 444.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/0.1483, allocations: 176.3 kB / 445.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.605e-05/0.1483, allocations: 180.2 kB / 445.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/0.1484, allocations: 180.2 kB / 445.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.1486, allocations: 409.1 kB / 445.8 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/0.1487, allocations: 109 kB / 445.9 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.1487, allocations: 101 kB / 446 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.69e-05/0.1488, allocations: 192.2 kB / 446.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/0.1489, allocations: 176.3 kB / 446.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.531e-05/0.1489, allocations: 180.2 kB / 446.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-05/0.149, allocations: 176.3 kB / 446.8 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1492, allocations: 315.7 kB / 447.1 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.1492, allocations: 182.1 kB / 447.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/0.1493, allocations: 184.2 kB / 447.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.1494, allocations: 105 kB / 447.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.1495, allocations: 188.2 kB / 447.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.1495, allocations: 104.9 kB / 447.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.917e-05/0.1496, allocations: 75.28 kB / 447.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1496, allocations: 0 / 447.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.1501, allocations: 128 kB / 448 MB, free: 6.812 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.0007944/0.1509, allocations: 424.3 kB / 448.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.748e-05/0.1509, allocations: 0 / 448.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1509, allocations: 0 / 448.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.1509, allocations: 0 / 448.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1513, allocations: 0.534 MB / 449 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.1515, allocations: 138.3 kB / 449.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1518, allocations: 0.6809 MB / 449.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.787e-06/0.1518, allocations: 0 / 449.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.1518, allocations: 7.438 kB / 449.8 MB, free: 4.984 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1518, allocations: 0 / 449.8 MB, free: 4.984 MB / 382.1 MB Notification: Performance of Templates: time 0.007104/0.1589, allocations: 3.088 MB / 452.9 MB, free: 1.895 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: