Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.998/1.998, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00112/0.001119, allocations: 78.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2764/0.2764, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.398e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 58.87 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6085, allocations: 88.23 MB / 0.559 GB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.6087, allocations: 65.88 kB / 0.559 GB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06429/0.673, allocations: 12.94 MB / 0.5716 GB, free: 4.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6731, allocations: 4 kB / 0.5717 GB, free: 4.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.6731, allocations: 0 / 0.5717 GB, free: 4.383 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.000836/0.674, allocations: 451.7 kB / 0.5721 GB, free: 3.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.674, allocations: 12.03 kB / 0.5721 GB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.6741, allocations: 75.28 kB / 0.5722 GB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.6743, allocations: 241.4 kB / 0.5724 GB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.6744, allocations: 150.6 kB / 0.5725 GB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.6745, allocations: 154.6 kB / 0.5727 GB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.771e-05/0.6745, allocations: 101 kB / 0.5728 GB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.6746, allocations: 83.22 kB / 0.5729 GB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.6747, allocations: 150.6 kB / 0.573 GB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/0.6748, allocations: 150.6 kB / 0.5732 GB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.6748, allocations: 158.5 kB / 0.5733 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.6752, allocations: 453.8 kB / 0.5737 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.6753, allocations: 169.1 kB / 0.5739 GB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.6754, allocations: 88.02 kB / 0.574 GB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.6754, allocations: 75.28 kB / 0.5741 GB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.476e-05/0.6755, allocations: 138.9 kB / 0.5742 GB, free: 1.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.876e-06/0.6755, allocations: 0 / 0.5742 GB, free: 1.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.57e-05/0.6756, allocations: 29.75 kB / 0.5742 GB, free: 1.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.6757, allocations: 156.4 kB / 0.5744 GB, free: 1.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.812e-05/0.6758, allocations: 85 kB / 0.5744 GB, free: 1.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.6758, allocations: 25.7 kB / 0.5745 GB, free: 1.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.6759, allocations: 153.7 kB / 0.5746 GB, free: 1.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.6759, allocations: 4 kB / 0.5746 GB, free: 1.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/0.6759, allocations: 4 kB / 0.5746 GB, free: 1.133 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6761, allocations: 314.8 kB / 0.5749 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.6761, allocations: 0 / 0.5749 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.6761, allocations: 3.938 kB / 0.5749 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.661e-05/0.6762, allocations: 75.28 kB / 0.575 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-05/0.6762, allocations: 83.17 kB / 0.5751 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.197e-05/0.6763, allocations: 33.64 kB / 0.5751 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.6764, allocations: 83.31 kB / 0.5752 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/0.6764, allocations: 83.22 kB / 0.5753 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.512e-05/0.6765, allocations: 150.6 kB / 0.5754 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.6766, allocations: 75.28 kB / 0.5755 GB, free: 240 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.147e-05/0.6767, allocations: 158.5 kB / 0.5756 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.6768, allocations: 79.28 kB / 0.5757 GB, free: 0 / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.6768, allocations: 83.22 kB / 0.5758 GB, free: 15.92 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 0.0001569/0.677, allocations: 260.1 kB / 0.576 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.6771, allocations: 104.9 kB / 0.5761 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.6772, allocations: 104.1 kB / 0.5762 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/0.6773, allocations: 188.2 kB / 0.5764 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.618e-05/0.6774, allocations: 184.1 kB / 0.5766 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.903e-05/0.6775, allocations: 180.2 kB / 0.5768 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.6778, allocations: 393.2 kB / 0.5771 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.184e-05/0.6778, allocations: 109 kB / 0.5772 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.6779, allocations: 108.9 kB / 0.5773 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.909e-05/0.678, allocations: 183.7 kB / 0.5775 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.6781, allocations: 184.2 kB / 0.5777 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.572e-05/0.6782, allocations: 180.3 kB / 0.5779 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.082e-05/0.6783, allocations: 180.2 kB / 0.578 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.6785, allocations: 307.4 kB / 0.5783 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.6786, allocations: 186 kB / 0.5785 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.6787, allocations: 188.6 kB / 0.5787 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.6788, allocations: 105 kB / 0.5788 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.6789, allocations: 183.8 kB / 0.579 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.6789, allocations: 105 kB / 0.5791 GB, free: 12.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.129e-05/0.679, allocations: 79.3 kB / 0.5791 GB, free: 12.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.679, allocations: 0 / 0.5791 GB, free: 12.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009751/0.68, allocations: 171.2 kB / 0.5793 GB, free: 12.11 MB / 394.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.001327/0.6813, allocations: 463.1 kB / 0.5797 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.962e-05/0.6814, allocations: 0 / 0.5797 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.6814, allocations: 8 kB / 0.5798 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.6814, allocations: 0 / 0.5798 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.6818, allocations: 0.5161 MB / 0.5803 GB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.682, allocations: 153.6 kB / 0.5804 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.6823, allocations: 0.6692 MB / 0.5811 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.6823, allocations: 11.44 kB / 0.5811 GB, free: 10.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6824, allocations: 4 kB / 0.5811 GB, free: 10.25 MB / 394.7 MB Notification: Performance of Templates: time 0.008627/0.691, allocations: 2.856 MB / 0.5839 GB, free: 7.398 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe 2>&1)