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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000839/0.000839, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9667/0.9667, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1432/0.1432, allocations: 32.37 MB / 270.7 MB, free: 14.62 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 299 MB, free: 2.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002e-05/1.149e-05, allocations: 2.312 kB / 299 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001024/0.001036, allocations: 0.5085 MB / 299.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1479/0.1489, allocations: 2.171 MB / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-06/0.1489, allocations: 3 kB / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.838e-06/0.1489, allocations: 0 / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.654e-06/0.1489, allocations: 4.719 kB / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.1505, allocations: 0.5913 MB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.285e-05/0.1505, allocations: 12.72 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.9e-05/0.1506, allocations: 2.562 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.1507, allocations: 7.5 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.9e-05/0.1507, allocations: 7.875 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.1507, allocations: 1.188 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008461/0.1515, allocations: 0.5978 MB / 302.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.1516, allocations: 3.078 kB / 303 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.1516, allocations: 2.359 kB / 303 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.1523, allocations: 0.5316 MB / 303.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1523, allocations: 1.719 kB / 303.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1523, allocations: 0 / 303.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.1523, allocations: 1.656 kB / 303.5 MB, free: 19.12 MB / 282.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.0002859/0.1526, allocations: 329 kB / 303.8 MB, free: 18.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1526, allocations: 9.812 kB / 303.8 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.1526, allocations: 78.11 kB / 303.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.128e-05/0.1527, allocations: 181.8 kB / 304.1 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1527, allocations: 156.1 kB / 304.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1527, allocations: 153.4 kB / 304.4 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.689e-05/0.1527, allocations: 103.8 kB / 304.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1527, allocations: 77.53 kB / 304.6 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.1528, allocations: 159 kB / 304.7 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1528, allocations: 152 kB / 304.9 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/0.1528, allocations: 157.4 kB / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.493e-05/0.1529, allocations: 359.7 kB / 305.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.265e-05/0.1529, allocations: 170.9 kB / 305.5 MB, free: 17.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.131e-05/0.153, allocations: 81.27 kB / 305.6 MB, free: 17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.153, allocations: 77.05 kB / 305.7 MB, free: 16.92 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.153, allocations: 133.2 kB / 305.8 MB, free: 16.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 4.61e-07/0.153, allocations: 0.5938 kB / 305.8 MB, free: 16.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.486e-05/0.153, allocations: 35.5 kB / 305.8 MB, free: 16.74 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.1531, allocations: 158.1 kB / 306 MB, free: 16.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.267e-05/0.1531, allocations: 93.8 kB / 306.1 MB, free: 16.47 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.1531, allocations: 26.89 kB / 306.1 MB, free: 16.44 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.128e-05/0.1531, allocations: 81.3 kB / 306.2 MB, free: 16.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-07/0.1531, allocations: 0 / 306.2 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.1531, allocations: 16.5 kB / 306.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.1532, allocations: 312.8 kB / 306.5 MB, free: 16.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-06/0.1532, allocations: 0 / 306.5 MB, free: 16.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.1532, allocations: 28.41 kB / 306.5 MB, free: 16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.262e-05/0.1532, allocations: 79.05 kB / 306.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.1532, allocations: 79.22 kB / 306.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.521e-05/0.1532, allocations: 33.75 kB / 306.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1532, allocations: 80.66 kB / 306.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1533, allocations: 77.2 kB / 306.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1533, allocations: 158.3 kB / 307 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.071e-05/0.1533, allocations: 81.03 kB / 307.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1533, allocations: 153.5 kB / 307.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.1533, allocations: 86.34 kB / 307.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1533, allocations: 76.98 kB / 307.4 MB, free: 15.13 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.1534, allocations: 264.3 kB / 307.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1534, allocations: 103.8 kB / 307.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.1534, allocations: 109.9 kB / 307.9 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.1535, allocations: 178.7 kB / 308.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/0.1535, allocations: 183.3 kB / 308.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/0.1535, allocations: 187.1 kB / 308.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.918e-05/0.1536, allocations: 326.7 kB / 308.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.1536, allocations: 103.1 kB / 308.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-06/0.1536, allocations: 106.8 kB / 309 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/0.1536, allocations: 181.9 kB / 309.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.1536, allocations: 180 kB / 309.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-05/0.1536, allocations: 182.3 kB / 309.5 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.829e-05/0.1537, allocations: 178.8 kB / 309.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.288e-05/0.1537, allocations: 312.7 kB / 310 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.1537, allocations: 104.9 kB / 310.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1538, allocations: 188.3 kB / 310.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.1538, allocations: 103.3 kB / 310.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.1538, allocations: 180.3 kB / 310.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.1538, allocations: 106.2 kB / 310.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.211e-05/0.1538, allocations: 6.969 kB / 310.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1538, allocations: 0 / 310.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003161/0.1542, allocations: 135 kB / 310.8 MB, free: 11.79 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006466/0.1548, allocations: 443.9 kB / 311.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.018e-05/0.1548, allocations: 5.094 kB / 311.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1548, allocations: 1.062 kB / 311.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.1548, allocations: 0.75 kB / 311.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.155, allocations: 464.8 kB / 311.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.544e-05/0.1551, allocations: 152.4 kB / 311.8 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.054e-05/0.1551, allocations: 51.97 kB / 311.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.163e-06/0.1551, allocations: 1.219 kB / 311.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.1551, allocations: 62.41 kB / 311.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1551, allocations: 1.219 kB / 311.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of Templates: time 0.006036/0.1612, allocations: 3.558 MB / 315.5 MB, free: 10.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (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=240 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0831790659576654]