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.001876/0.001876, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.001992/0.001992, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 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 1.409/1.409, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2414/0.2414, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.964e-06/1.964e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.278e-05, allocations: 6.25 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001472/0.001505, allocations: 0.5081 MB / 347.4 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.004571, allocations: 2.141 MB / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-06/0.004577, allocations: 4 kB / 349.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.009e-06/0.004582, allocations: 0 / 349.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.673e-06/0.004583, allocations: 0 / 349.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.006373, allocations: 0.5996 MB / 350.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.006427, allocations: 4 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.07e-05/0.006458, allocations: 3.984 kB / 350.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.00656, allocations: 23.86 kB / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.006608, allocations: 4 kB / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.325e-06/0.006616, allocations: 4 kB / 350.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008255/0.007442, allocations: 0.6061 MB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.007452, allocations: 0 / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.007477, allocations: 4 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000638/0.008115, allocations: 0.5378 MB / 351.4 MB, free: 5.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.00812, allocations: 4 kB / 351.4 MB, free: 5.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.008122, allocations: 3.938 kB / 351.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.008128, allocations: 0 / 351.4 MB, free: 5.344 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.00038/0.008508, allocations: 453.3 kB / 351.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.008553, allocations: 16.02 kB / 351.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/0.008624, allocations: 120.1 kB / 351.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.356e-05/0.008707, allocations: 231.8 kB / 352.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.00875, allocations: 242.8 kB / 352.4 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.008792, allocations: 238.8 kB / 352.6 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.32e-05/0.008865, allocations: 145.5 kB / 352.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.008904, allocations: 123.1 kB / 352.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.00897, allocations: 246.4 kB / 353.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/0.009021, allocations: 238.4 kB / 353.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.713e-05/0.009088, allocations: 250.3 kB / 353.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.009324, allocations: 0.5681 MB / 354.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/0.009421, allocations: 265.4 kB / 354.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.00945, allocations: 126.9 kB / 354.6 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.009483, allocations: 123.2 kB / 354.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.85e-05/0.009551, allocations: 182.2 kB / 354.9 MB, free: 1.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.009552, allocations: 0 / 354.9 MB, free: 1.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001031/0.009656, allocations: 37.64 kB / 354.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.009721, allocations: 196.3 kB / 355.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.604e-05/0.009757, allocations: 142.2 kB / 355.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.009768, allocations: 25.7 kB / 355.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.009802, allocations: 130.9 kB / 355.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-06/0.009805, allocations: 4 kB / 355.4 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.009828, allocations: 19.38 kB / 355.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.009957, allocations: 496.1 kB / 355.9 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.009967, allocations: 0 / 355.9 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.903e-05/0.01002, allocations: 25.7 kB / 355.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.01006, allocations: 123.2 kB / 356 MB, free: 448 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.075e-05/0.0101, allocations: 123.1 kB / 356.2 MB, free: 324 kB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.401e-05/0.01016, allocations: 25.7 kB / 356.2 MB, free: 292 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.0102, allocations: 127.2 kB / 356.3 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.01023, allocations: 127.2 kB / 356.4 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.01041, allocations: 246.2 kB / 356.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.01048, allocations: 127.2 kB / 356.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001576/0.01064, allocations: 242.3 kB / 357 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.01076, allocations: 119.2 kB / 357.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/0.01083, allocations: 123.2 kB / 357.3 MB, free: 15.19 MB / 298.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 0.0002665/0.0111, allocations: 399 kB / 357.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.01122, allocations: 148.8 kB / 357.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.01133, allocations: 155.8 kB / 358 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001791/0.01151, allocations: 276 kB / 358.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001686/0.01168, allocations: 272.1 kB / 358.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001592/0.01184, allocations: 264.1 kB / 358.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.01221, allocations: 499.8 kB / 359.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.777e-05/0.01231, allocations: 148.9 kB / 359.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.711e-05/0.0124, allocations: 152.8 kB / 359.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.01259, allocations: 264.1 kB / 359.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.0128, allocations: 264.1 kB / 360.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001826/0.01298, allocations: 272.3 kB / 360.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001901/0.01317, allocations: 276 kB / 360.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.01351, allocations: 444 kB / 361 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.078e-05/0.0136, allocations: 152.8 kB / 361.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.01378, allocations: 272.1 kB / 361.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.01392, allocations: 148.9 kB / 361.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.01409, allocations: 276 kB / 361.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.151e-05/0.01418, allocations: 148.9 kB / 362 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.01428, allocations: 123.2 kB / 362.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01428, allocations: 0 / 362.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006123/0.01489, allocations: 127.7 kB / 362.2 MB, free: 10.02 MB / 298.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.001173/0.01606, allocations: 496.6 kB / 362.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.818e-05/0.01613, allocations: 11.88 kB / 362.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01613, allocations: 0 / 362.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.01614, allocations: 0 / 362.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.01675, allocations: 0.7061 MB / 363.4 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.01705, allocations: 209.7 kB / 363.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.01711, allocations: 55.34 kB / 363.7 MB, free: 8.512 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.452e-06/0.01712, allocations: 0 / 363.7 MB, free: 8.512 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.01714, allocations: 16.5 kB / 363.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of SimCode: time 1.362e-06/0.01714, allocations: 0 / 363.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of Templates: time 0.008439/0.02558, allocations: 3.158 MB / 366.9 MB, free: 5.348 MB / 298.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: 5.142660956946202]