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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.01118/0.01118, allocations: 175.9 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.704/1.704, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001649/0.001649, allocations: 132.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2061/0.2061, allocations: 40.02 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004477, allocations: 13.72 kB / 406.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 54.88 MB / 461 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4667, allocations: 83.44 MB / 0.5317 GB, free: 81.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.467, allocations: 62.47 kB / 0.5318 GB, free: 81.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03916/0.5061, allocations: 12.96 MB / 0.5444 GB, free: 79.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5062, allocations: 0 / 0.5444 GB, free: 79.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.5062, allocations: 9.25 kB / 0.5444 GB, free: 79.53 MB / 378.7 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.0007174/0.5069, allocations: 449.1 kB / 0.5449 GB, free: 79.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.507, allocations: 9.281 kB / 0.5449 GB, free: 79.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.507, allocations: 81.05 kB / 0.5449 GB, free: 78.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.59e-05/0.5071, allocations: 234.4 kB / 0.5452 GB, free: 78.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.5072, allocations: 150.6 kB / 0.5453 GB, free: 78.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.5072, allocations: 160.1 kB / 0.5455 GB, free: 78.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.307e-05/0.5072, allocations: 109 kB / 0.5456 GB, free: 78.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.5073, allocations: 75.28 kB / 0.5456 GB, free: 78.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.5073, allocations: 155.8 kB / 0.5458 GB, free: 78.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.5073, allocations: 154.6 kB / 0.5459 GB, free: 77.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.5074, allocations: 155.8 kB / 0.5461 GB, free: 77.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.5076, allocations: 444 kB / 0.5465 GB, free: 77.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.179e-05/0.5076, allocations: 173.1 kB / 0.5467 GB, free: 77.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.5077, allocations: 76.66 kB / 0.5467 GB, free: 77.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.5077, allocations: 131.5 kB / 0.5469 GB, free: 76.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.5077, allocations: 5.406 kB / 0.5469 GB, free: 76.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.848e-05/0.5078, allocations: 31.17 kB / 0.5469 GB, free: 76.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.5078, allocations: 160.3 kB / 0.5471 GB, free: 76.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.863e-05/0.5079, allocations: 85 kB / 0.5471 GB, free: 76.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.5079, allocations: 26.98 kB / 0.5472 GB, free: 76.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.5079, allocations: 81.61 kB / 0.5472 GB, free: 76.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.5079, allocations: 0 / 0.5472 GB, free: 76.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.5079, allocations: 0 / 0.5472 GB, free: 76.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.508, allocations: 322.8 kB / 0.5476 GB, free: 76.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.508, allocations: 1.594 kB / 0.5476 GB, free: 76.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.508, allocations: 1.578 kB / 0.5476 GB, free: 76.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.5081, allocations: 79.28 kB / 0.5476 GB, free: 76.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.5081, allocations: 76.69 kB / 0.5477 GB, free: 76 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.102e-05/0.5081, allocations: 27.05 kB / 0.5477 GB, free: 75.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.5082, allocations: 80.47 kB / 0.5478 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.5082, allocations: 80.59 kB / 0.5479 GB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.85e-05/0.5082, allocations: 160.3 kB / 0.548 GB, free: 75.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-05/0.5083, allocations: 79.22 kB / 0.5481 GB, free: 75.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/0.5083, allocations: 151.9 kB / 0.5483 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.5084, allocations: 82.09 kB / 0.5483 GB, free: 75.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.5084, allocations: 79.22 kB / 0.5484 GB, free: 75.28 MB / 378.7 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 7.757e-05/0.5085, allocations: 266.5 kB / 0.5487 GB, free: 75.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.5085, allocations: 102.1 kB / 0.5488 GB, free: 74.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.5086, allocations: 113.5 kB / 0.5489 GB, free: 74.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/0.5086, allocations: 177.7 kB / 0.549 GB, free: 74.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-05/0.5086, allocations: 181.9 kB / 0.5492 GB, free: 74.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-05/0.5087, allocations: 189.5 kB / 0.5494 GB, free: 74.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.5088, allocations: 406.6 kB / 0.5498 GB, free: 73.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.5089, allocations: 106.3 kB / 0.5499 GB, free: 73.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.5089, allocations: 102.4 kB / 0.55 GB, free: 73.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.714e-05/0.5089, allocations: 180.3 kB / 0.5502 GB, free: 73.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.509, allocations: 185.6 kB / 0.5503 GB, free: 73.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-05/0.509, allocations: 185.4 kB / 0.5505 GB, free: 73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.08e-05/0.509, allocations: 181.3 kB / 0.5507 GB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.704e-05/0.5091, allocations: 307.2 kB / 0.551 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.5091, allocations: 183.5 kB / 0.5511 GB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.5092, allocations: 178.9 kB / 0.5513 GB, free: 72.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.5093, allocations: 110.7 kB / 0.5514 GB, free: 72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.5093, allocations: 176.3 kB / 0.5516 GB, free: 71.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.5093, allocations: 110.2 kB / 0.5517 GB, free: 71.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.583e-05/0.5093, allocations: 75.33 kB / 0.5518 GB, free: 71.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5093, allocations: 1.344 kB / 0.5518 GB, free: 71.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009455/0.5103, allocations: 167.4 kB / 0.5519 GB, free: 71.57 MB / 378.7 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.0008905/0.5112, allocations: 465.6 kB / 0.5524 GB, free: 71.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.189e-05/0.5113, allocations: 5.109 kB / 0.5524 GB, free: 71.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5113, allocations: 0 / 0.5524 GB, free: 71.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.5113, allocations: 1.062 kB / 0.5524 GB, free: 71.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.5115, allocations: 0.5285 MB / 0.5529 GB, free: 70.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001125/0.5116, allocations: 145.4 kB / 0.553 GB, free: 70.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.5117, allocations: 0.6781 MB / 0.5537 GB, free: 69.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.674e-06/0.5117, allocations: 1.25 kB / 0.5537 GB, free: 69.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.073e-05/0.5118, allocations: 8.5 kB / 0.5537 GB, free: 69.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5118, allocations: 0 / 0.5537 GB, free: 69.86 MB / 378.7 MB Notification: Performance of Templates: time 0.00729/0.5191, allocations: 2.895 MB / 0.5565 GB, free: 68.37 MB / 378.7 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)