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.001068/0.001068, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007896/0.0007897, allocations: 93.84 kB / 267.1 MB, free: 9.27 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.3062/0.3062, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.301e-05, allocations: 7.984 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 58.84 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3104/0.4108, allocations: 88.23 MB / 0.559 GB, free: 16.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.411, allocations: 61.38 kB / 0.559 GB, free: 16.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0316/0.4426, allocations: 12.95 MB / 0.5717 GB, free: 6.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4427, allocations: 0 / 0.5717 GB, free: 6.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.4427, allocations: 0 / 0.5717 GB, free: 6.395 MB / 394.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.000437/0.4431, allocations: 455.1 kB / 0.5721 GB, free: 5.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4432, allocations: 12.03 kB / 0.5721 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.4432, allocations: 78.72 kB / 0.5722 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.505e-05/0.4433, allocations: 238.3 kB / 0.5724 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.4433, allocations: 150.6 kB / 0.5726 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.4433, allocations: 154.6 kB / 0.5727 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.862e-05/0.4434, allocations: 101 kB / 0.5728 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4434, allocations: 79.28 kB / 0.5729 GB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.4434, allocations: 150.6 kB / 0.573 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.4435, allocations: 151.9 kB / 0.5732 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.4435, allocations: 158.1 kB / 0.5733 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.4436, allocations: 453.8 kB / 0.5737 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.664e-05/0.4437, allocations: 169.1 kB / 0.5739 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.4437, allocations: 83.7 kB / 0.574 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.4437, allocations: 75.28 kB / 0.5741 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.4437, allocations: 135.5 kB / 0.5742 GB, free: 3.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.4438, allocations: 0 / 0.5742 GB, free: 3.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 5.535e-05/0.4438, allocations: 33.69 kB / 0.5742 GB, free: 3.602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.4439, allocations: 156.4 kB / 0.5744 GB, free: 3.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.167e-05/0.4439, allocations: 85 kB / 0.5745 GB, free: 3.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.4439, allocations: 25.7 kB / 0.5745 GB, free: 3.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.4439, allocations: 84.14 kB / 0.5746 GB, free: 3.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.4439, allocations: 0 / 0.5746 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.4439, allocations: 0 / 0.5746 GB, free: 3.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.444, allocations: 318.6 kB / 0.5749 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-06/0.444, allocations: 4 kB / 0.5749 GB, free: 2.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.444, allocations: 6.344 kB / 0.5749 GB, free: 2.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.709e-05/0.444, allocations: 75.28 kB / 0.5749 GB, free: 2.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.444, allocations: 79.23 kB / 0.575 GB, free: 2.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.11e-05/0.4441, allocations: 33.64 kB / 0.575 GB, free: 2.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4441, allocations: 80.38 kB / 0.5751 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4441, allocations: 75.28 kB / 0.5752 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.4441, allocations: 150.6 kB / 0.5753 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-06/0.4442, allocations: 87.23 kB / 0.5754 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.4442, allocations: 157 kB / 0.5756 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.4442, allocations: 82.03 kB / 0.5757 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4443, allocations: 75.28 kB / 0.5757 GB, free: 2.016 MB / 394.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 4.944e-05/0.4443, allocations: 256.8 kB / 0.576 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.4443, allocations: 112.9 kB / 0.5761 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.4444, allocations: 115.7 kB / 0.5762 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.4444, allocations: 180.2 kB / 0.5764 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/0.4444, allocations: 180.2 kB / 0.5765 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.4444, allocations: 176.3 kB / 0.5767 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.4446, allocations: 405.2 kB / 0.5771 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.4446, allocations: 109.5 kB / 0.5772 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.4446, allocations: 104.9 kB / 0.5773 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.182e-05/0.4446, allocations: 192.1 kB / 0.5775 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.4447, allocations: 176.3 kB / 0.5776 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.593e-05/0.4447, allocations: 180.2 kB / 0.5778 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.234e-05/0.4448, allocations: 184.2 kB / 0.578 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.4449, allocations: 303.3 kB / 0.5783 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.445, allocations: 187.4 kB / 0.5785 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.4451, allocations: 192.4 kB / 0.5786 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.4452, allocations: 101 kB / 0.5787 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.4452, allocations: 184.3 kB / 0.5789 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.4453, allocations: 105 kB / 0.579 GB, free: 14.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.431e-05/0.4453, allocations: 79.3 kB / 0.5791 GB, free: 14.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4453, allocations: 0 / 0.5791 GB, free: 14.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006147/0.4459, allocations: 171.5 kB / 0.5793 GB, free: 14.21 MB / 410.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.0007486/0.4467, allocations: 452.2 kB / 0.5797 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.011e-05/0.4467, allocations: 7.938 kB / 0.5797 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4467, allocations: 0 / 0.5797 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.4468, allocations: 0 / 0.5797 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.447, allocations: 0.529 MB / 0.5802 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001002/0.4471, allocations: 116.3 kB / 0.5803 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.4473, allocations: 0.6731 MB / 0.581 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.133e-06/0.4474, allocations: 0 / 0.581 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-06/0.4474, allocations: 11.38 kB / 0.581 GB, free: 12.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4474, allocations: 0 / 0.581 GB, free: 12.39 MB / 410.7 MB Notification: Performance of Templates: time 0.005894/0.4533, allocations: 2.953 MB / 0.5839 GB, free: 9.457 MB / 410.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)