Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008316/0.0008317, allocations: 82.64 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2111/0.2111, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.146e-05, allocations: 4 kB / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3794/0.5002, allocations: 87.57 MB / 0.5514 GB, free: 7.438 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.5004, allocations: 67.09 kB / 0.5515 GB, free: 7.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03328/0.5337, allocations: 12.89 MB / 0.5641 GB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5338, allocations: 0 / 0.5641 GB, free: 13.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.5338, allocations: 4 kB / 0.5641 GB, free: 13.05 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.0006396/0.5344, allocations: 451 kB / 0.5645 GB, free: 12.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5345, allocations: 8.031 kB / 0.5645 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.5346, allocations: 83.25 kB / 0.5646 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.5347, allocations: 238.3 kB / 0.5648 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.5347, allocations: 157.9 kB / 0.565 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.5348, allocations: 150.6 kB / 0.5651 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.127e-05/0.5349, allocations: 158.5 kB / 0.5653 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.224e-05/0.5349, allocations: 101 kB / 0.5654 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.535, allocations: 75.28 kB / 0.5655 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/0.535, allocations: 150.6 kB / 0.5656 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/0.5351, allocations: 150.6 kB / 0.5657 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.5354, allocations: 433.9 kB / 0.5662 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.371e-05/0.5355, allocations: 177 kB / 0.5663 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.5355, allocations: 80.14 kB / 0.5664 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.5356, allocations: 75.28 kB / 0.5665 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.841e-05/0.5356, allocations: 139.5 kB / 0.5666 GB, free: 10.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.5356, allocations: 0 / 0.5666 GB, free: 10.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.581e-05/0.5357, allocations: 25.7 kB / 0.5666 GB, free: 10.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.5358, allocations: 80.92 kB / 0.5667 GB, free: 10.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.346e-05/0.5358, allocations: 85 kB / 0.5668 GB, free: 10.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.5358, allocations: 25.7 kB / 0.5668 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.5359, allocations: 84.14 kB / 0.5669 GB, free: 9.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.82e-07/0.5359, allocations: 0 / 0.5669 GB, free: 9.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.5359, allocations: 0 / 0.5669 GB, free: 9.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.536, allocations: 314.8 kB / 0.5672 GB, free: 9.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-06/0.536, allocations: 0 / 0.5672 GB, free: 9.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.5361, allocations: 3.938 kB / 0.5672 GB, free: 9.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.5361, allocations: 79.28 kB / 0.5673 GB, free: 9.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/0.5361, allocations: 76.12 kB / 0.5673 GB, free: 9.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.161e-05/0.5362, allocations: 33.64 kB / 0.5674 GB, free: 9.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.5362, allocations: 83.28 kB / 0.5675 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.5363, allocations: 79.33 kB / 0.5675 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.92e-05/0.5363, allocations: 158.5 kB / 0.5677 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.312e-05/0.5364, allocations: 75.28 kB / 0.5678 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.04e-05/0.5364, allocations: 153.9 kB / 0.5679 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.5365, allocations: 83.22 kB / 0.568 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.5365, allocations: 79.27 kB / 0.5681 GB, free: 8.77 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 () * 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.0001222/0.5367, allocations: 263.5 kB / 0.5683 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.5367, allocations: 104.9 kB / 0.5684 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.5368, allocations: 112.7 kB / 0.5685 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.424e-05/0.5369, allocations: 176.3 kB / 0.5687 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.401e-05/0.5369, allocations: 180.3 kB / 0.5689 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.317e-05/0.537, allocations: 187.4 kB / 0.569 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.5372, allocations: 377.8 kB / 0.5694 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.481e-05/0.5373, allocations: 101 kB / 0.5695 GB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.5373, allocations: 110.1 kB / 0.5696 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-05/0.5374, allocations: 180.2 kB / 0.5698 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.5375, allocations: 176.3 kB / 0.5699 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-05/0.5375, allocations: 192.1 kB / 0.5701 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-05/0.5376, allocations: 187.5 kB / 0.5703 GB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.5378, allocations: 303.8 kB / 0.5706 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.5379, allocations: 181.2 kB / 0.5708 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/0.5379, allocations: 176.3 kB / 0.5709 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.538, allocations: 113.3 kB / 0.571 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.5381, allocations: 184.2 kB / 0.5712 GB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.5382, allocations: 101 kB / 0.5713 GB, free: 5.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.5382, allocations: 75.28 kB / 0.5714 GB, free: 5.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5382, allocations: 0 / 0.5714 GB, free: 5.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007947/0.539, allocations: 170 kB / 0.5715 GB, free: 5.008 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 () * 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.0008471/0.5399, allocations: 466.2 kB / 0.572 GB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.965e-05/0.5399, allocations: 3.125 kB / 0.572 GB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5399, allocations: 0 / 0.572 GB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.5399, allocations: 0 / 0.572 GB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.5402, allocations: 0.5263 MB / 0.5725 GB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000138/0.5404, allocations: 115.3 kB / 0.5726 GB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.5406, allocations: 0.6768 MB / 0.5733 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.332e-06/0.5406, allocations: 0 / 0.5733 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-06/0.5406, allocations: 7.438 kB / 0.5733 GB, free: 3.176 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5407, allocations: 4 kB / 0.5733 GB, free: 3.172 MB / 378.7 MB Notification: Performance of Templates: time 0.00644/0.5471, allocations: 2.914 MB / 0.5761 GB, free: 284 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)