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.001514/0.001514, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.98/1.98, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001113/0.001113, allocations: 86.58 kB / 270.9 MB, free: 8.395 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.5189/0.5189, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.00047, allocations: 16 kB / 431.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.6093, allocations: 88.32 MB / 0.565 GB, free: 14.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.6096, allocations: 59.98 kB / 0.565 GB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06635/0.676, allocations: 12.98 MB / 0.5777 GB, free: 1.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.676, allocations: 2.719 kB / 0.5777 GB, free: 1.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.676, allocations: 4 kB / 0.5777 GB, free: 1.426 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.0007997/0.6768, allocations: 456.7 kB / 0.5781 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6769, allocations: 8.031 kB / 0.5781 GB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.677, allocations: 82.72 kB / 0.5782 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.6771, allocations: 234.4 kB / 0.5784 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/0.6773, allocations: 158.5 kB / 0.5786 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/0.6774, allocations: 154.6 kB / 0.5787 GB, free: 268 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.088e-05/0.6774, allocations: 101 kB / 0.5788 GB, free: 160 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.6775, allocations: 75.28 kB / 0.5789 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.6776, allocations: 154.6 kB / 0.5791 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.358e-05/0.6777, allocations: 150.6 kB / 0.5792 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.6778, allocations: 155.6 kB / 0.5794 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.6781, allocations: 449.9 kB / 0.5798 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.6782, allocations: 173.1 kB / 0.5799 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.6783, allocations: 75.28 kB / 0.58 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.954e-05/0.6784, allocations: 131.5 kB / 0.5801 GB, free: 14.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 5.039e-06/0.6784, allocations: 4 kB / 0.5802 GB, free: 14.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.254e-05/0.6785, allocations: 29.64 kB / 0.5802 GB, free: 14.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.6786, allocations: 160.3 kB / 0.5803 GB, free: 14.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.6787, allocations: 89 kB / 0.5804 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.6787, allocations: 29.69 kB / 0.5804 GB, free: 14.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.6788, allocations: 150.6 kB / 0.5806 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.6788, allocations: 0 / 0.5806 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-07/0.6788, allocations: 0 / 0.5806 GB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6789, allocations: 314.8 kB / 0.5809 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.679, allocations: 0 / 0.5809 GB, free: 13.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.679, allocations: 4.047 kB / 0.5809 GB, free: 13.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.883e-05/0.6791, allocations: 79.28 kB / 0.581 GB, free: 13.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.49e-05/0.6791, allocations: 76.03 kB / 0.581 GB, free: 13.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.482e-05/0.6792, allocations: 33.66 kB / 0.5811 GB, free: 13.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.6793, allocations: 79.28 kB / 0.5811 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/0.6793, allocations: 79.22 kB / 0.5812 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-05/0.6794, allocations: 158.6 kB / 0.5814 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.478e-05/0.6794, allocations: 83.2 kB / 0.5815 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.019e-05/0.6795, allocations: 158.6 kB / 0.5816 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.6796, allocations: 75.28 kB / 0.5817 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.6797, allocations: 91.14 kB / 0.5818 GB, free: 13.02 MB / 410.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 0.0001648/0.6798, allocations: 264.4 kB / 0.582 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.282e-05/0.6799, allocations: 111 kB / 0.5821 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.68, allocations: 120 kB / 0.5822 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.843e-05/0.6801, allocations: 176.3 kB / 0.5824 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-05/0.6802, allocations: 180.2 kB / 0.5826 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.414e-05/0.6803, allocations: 180.3 kB / 0.5827 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.6806, allocations: 401.2 kB / 0.5831 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.752e-05/0.6807, allocations: 104.9 kB / 0.5832 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.6807, allocations: 109 kB / 0.5833 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.001e-05/0.6808, allocations: 184.2 kB / 0.5835 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.6809, allocations: 180.3 kB / 0.5837 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.778e-05/0.681, allocations: 184.2 kB / 0.5839 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.332e-05/0.6811, allocations: 184.2 kB / 0.584 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.6813, allocations: 303.8 kB / 0.5843 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.6814, allocations: 182.1 kB / 0.5845 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.6815, allocations: 180.2 kB / 0.5847 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.6816, allocations: 117.3 kB / 0.5848 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.6817, allocations: 180.3 kB / 0.585 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.6818, allocations: 104.9 kB / 0.5851 GB, free: 9.434 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.6818, allocations: 79.33 kB / 0.5851 GB, free: 9.355 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6818, allocations: 0 / 0.5851 GB, free: 9.355 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009792/0.6828, allocations: 171.7 kB / 0.5853 GB, free: 9.188 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 () * 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.001403/0.6843, allocations: 457.1 kB / 0.5857 GB, free: 8.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.421e-05/0.6844, allocations: 4 kB / 0.5857 GB, free: 8.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6844, allocations: 0 / 0.5857 GB, free: 8.746 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.6844, allocations: 0 / 0.5857 GB, free: 8.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.6847, allocations: 0.5263 MB / 0.5862 GB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.6849, allocations: 176.1 kB / 0.5864 GB, free: 8.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.6853, allocations: 0.6692 MB / 0.5871 GB, free: 7.312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.6853, allocations: 7.438 kB / 0.5871 GB, free: 7.305 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6853, allocations: 4 kB / 0.5871 GB, free: 7.301 MB / 410.7 MB Notification: Performance of Templates: time 0.008533/0.6939, allocations: 2.889 MB / 0.5899 GB, free: 4.426 MB / 410.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)