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.001189/0.001189, allocations: 176.2 kB / 16.76 MB, free: 5.031 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.544/1.544, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007714/0.0007714, allocations: 89.38 kB / 271.3 MB, free: 8.25 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.3355/0.3355, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004484, allocations: 20 kB / 432.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.4412, allocations: 88.38 MB / 0.5662 GB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4415, allocations: 63.97 kB / 0.5663 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03812/0.4796, allocations: 12.9 MB / 0.5789 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4797, allocations: 4 kB / 0.5789 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4797, allocations: 0 / 0.5789 GB, free: 0.5352 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.0007802/0.4805, allocations: 458 kB / 0.5793 GB, free: 32 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4805, allocations: 11.97 kB / 0.5794 GB, free: 20 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.115e-05/0.4806, allocations: 84.22 kB / 0.5794 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.4808, allocations: 239.7 kB / 0.5797 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.4808, allocations: 150.9 kB / 0.5798 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.4809, allocations: 154.9 kB / 0.58 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.566e-05/0.481, allocations: 105.5 kB / 0.5801 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.481, allocations: 78.19 kB / 0.5801 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/0.4811, allocations: 154.5 kB / 0.5803 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.91e-05/0.4812, allocations: 150.6 kB / 0.5804 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.75e-05/0.4813, allocations: 158.5 kB / 0.5806 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.4816, allocations: 446 kB / 0.581 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.4817, allocations: 169.1 kB / 0.5812 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.4818, allocations: 80.14 kB / 0.5812 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.4818, allocations: 75.28 kB / 0.5813 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.198e-05/0.4819, allocations: 147.5 kB / 0.5815 GB, free: 13.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.4819, allocations: 0 / 0.5815 GB, free: 13.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.552e-05/0.482, allocations: 29.64 kB / 0.5815 GB, free: 13.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.4821, allocations: 156.3 kB / 0.5816 GB, free: 13.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.911e-05/0.4822, allocations: 89.86 kB / 0.5817 GB, free: 13.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.4822, allocations: 29.7 kB / 0.5817 GB, free: 13.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.4822, allocations: 80.14 kB / 0.5818 GB, free: 13.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.4823, allocations: 0 / 0.5818 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.4823, allocations: 0 / 0.5818 GB, free: 13.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4824, allocations: 314.8 kB / 0.5821 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-06/0.4824, allocations: 0 / 0.5821 GB, free: 13.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.4825, allocations: 4 kB / 0.5821 GB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.4825, allocations: 75.33 kB / 0.5822 GB, free: 12.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.06e-05/0.4825, allocations: 75.28 kB / 0.5823 GB, free: 12.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.251e-05/0.4826, allocations: 37.69 kB / 0.5823 GB, free: 12.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.4827, allocations: 79.28 kB / 0.5824 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.4827, allocations: 87.25 kB / 0.5825 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.267e-05/0.4828, allocations: 154.5 kB / 0.5826 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.191e-05/0.4828, allocations: 83.22 kB / 0.5827 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.289e-05/0.4829, allocations: 150.6 kB / 0.5828 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.483, allocations: 75.28 kB / 0.5829 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.483, allocations: 83.97 kB / 0.583 GB, free: 12.11 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.0001402/0.4832, allocations: 268.3 kB / 0.5832 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.4832, allocations: 109 kB / 0.5833 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.4833, allocations: 113.9 kB / 0.5835 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-05/0.4834, allocations: 176.3 kB / 0.5836 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.618e-05/0.4835, allocations: 176.3 kB / 0.5838 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-05/0.4835, allocations: 192.2 kB / 0.584 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.4838, allocations: 397.2 kB / 0.5844 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/0.4838, allocations: 108.9 kB / 0.5845 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.4838, allocations: 101 kB / 0.5846 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.388e-05/0.4839, allocations: 184.2 kB / 0.5847 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.359e-05/0.484, allocations: 188.1 kB / 0.5849 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.677e-05/0.4841, allocations: 180.3 kB / 0.5851 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-05/0.4842, allocations: 188.2 kB / 0.5853 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.4843, allocations: 303.8 kB / 0.5855 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.4844, allocations: 182.1 kB / 0.5857 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.4845, allocations: 188.2 kB / 0.5859 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.4846, allocations: 109.3 kB / 0.586 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.4846, allocations: 180.2 kB / 0.5862 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.4847, allocations: 104.9 kB / 0.5863 GB, free: 8.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.325e-05/0.4847, allocations: 75.33 kB / 0.5863 GB, free: 8.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4847, allocations: 0 / 0.5863 GB, free: 8.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007389/0.4855, allocations: 167.7 kB / 0.5865 GB, free: 8.277 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.0008588/0.4863, allocations: 475.9 kB / 0.587 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.853e-05/0.4864, allocations: 0 / 0.587 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4864, allocations: 0 / 0.587 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.4864, allocations: 0 / 0.587 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.4868, allocations: 0.5224 MB / 0.5875 GB, free: 7.293 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001456/0.4869, allocations: 155 kB / 0.5876 GB, free: 7.113 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.4872, allocations: 0.6702 MB / 0.5883 GB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.4872, allocations: 0 / 0.5883 GB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.4872, allocations: 7.438 kB / 0.5883 GB, free: 6.414 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4872, allocations: 0 / 0.5883 GB, free: 6.414 MB / 410.7 MB Notification: Performance of Templates: time 0.006497/0.4937, allocations: 2.899 MB / 0.5911 GB, free: 3.52 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)