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.001004/0.001004, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.0009463/0.0009463, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9242/0.9242, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1292/0.1292, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.492e-06/1.492e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.102e-05, allocations: 10.25 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0008681/0.0008892, allocations: 0.5085 MB / 348.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.002959, allocations: 2.17 MB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-06/0.002966, allocations: 4 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.017e-05/0.002976, allocations: 0 / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.659e-06/0.00298, allocations: 0 / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.004245, allocations: 0.6035 MB / 350.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.323e-05/0.004289, allocations: 4 kB / 350.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.718e-05/0.004316, allocations: 0 / 350.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.048e-05/0.004396, allocations: 19.92 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.004435, allocations: 7.984 kB / 351 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.004441, allocations: 0 / 351 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006408/0.005082, allocations: 0.6112 MB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-06/0.005089, allocations: 4 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.005105, allocations: 4 kB / 351.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.005524, allocations: 0.534 MB / 352.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005526, allocations: 0 / 352.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005527, allocations: 4 kB / 352.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005531, allocations: 0 / 352.1 MB, free: 4.973 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.0002414/0.005772, allocations: 457.2 kB / 352.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.005823, allocations: 12.03 kB / 352.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.00587, allocations: 124.1 kB / 352.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.018e-05/0.00592, allocations: 227.8 kB / 352.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.005944, allocations: 242.8 kB / 353.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.005964, allocations: 242.8 kB / 353.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.384e-05/0.006008, allocations: 145.5 kB / 353.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.006023, allocations: 123.1 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.006049, allocations: 246.4 kB / 353.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.006071, allocations: 238.4 kB / 354.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.006091, allocations: 246.3 kB / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.006213, allocations: 0.5642 MB / 354.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/0.006265, allocations: 265.4 kB / 355.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.006282, allocations: 126.9 kB / 355.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.006294, allocations: 123.2 kB / 355.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.006338, allocations: 186.3 kB / 355.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.006339, allocations: 0 / 355.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.855e-05/0.006397, allocations: 33.58 kB / 355.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.006441, allocations: 204.3 kB / 355.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.804e-05/0.006459, allocations: 142.2 kB / 356 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.006465, allocations: 25.7 kB / 356 MB, free: 0.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.541e-05/0.00648, allocations: 126.9 kB / 356.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.006482, allocations: 0 / 356.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.0065, allocations: 23.38 kB / 356.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.006549, allocations: 492.1 kB / 356.7 MB, free: 228 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-06/0.006553, allocations: 0 / 356.7 MB, free: 228 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.006576, allocations: 29.7 kB / 356.7 MB, free: 192 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.431e-05/0.00659, allocations: 123.2 kB / 356.8 MB, free: 68 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.153e-05/0.006632, allocations: 127.1 kB / 356.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.314e-05/0.006665, allocations: 33.62 kB / 357 MB, free: 15.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.006703, allocations: 127.2 kB / 357.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/0.00674, allocations: 119.2 kB / 357.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.41e-05/0.006804, allocations: 246.2 kB / 357.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.287e-05/0.006837, allocations: 123.2 kB / 357.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-05/0.006891, allocations: 238.4 kB / 357.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.006944, allocations: 123.1 kB / 357.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.006974, allocations: 127.2 kB / 358 MB, free: 14.82 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.0001199/0.007094, allocations: 402.9 kB / 358.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.007142, allocations: 148.8 kB / 358.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.007186, allocations: 147.9 kB / 358.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-05/0.007255, allocations: 272 kB / 359 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.048e-05/0.007325, allocations: 272.1 kB / 359.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.121e-05/0.007396, allocations: 272.1 kB / 359.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.007588, allocations: 495.8 kB / 360 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.241e-05/0.007631, allocations: 144.9 kB / 360.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.007677, allocations: 152.8 kB / 360.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.874e-05/0.007765, allocations: 272.1 kB / 360.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/0.007843, allocations: 268.1 kB / 360.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.062e-05/0.007914, allocations: 276.3 kB / 361.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.99e-05/0.007984, allocations: 268 kB / 361.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.008138, allocations: 448 kB / 361.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.008183, allocations: 148.9 kB / 361.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/0.008268, allocations: 272 kB / 362.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.00833, allocations: 148.9 kB / 362.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.008414, allocations: 272 kB / 362.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.008459, allocations: 148.9 kB / 362.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.008504, allocations: 123.2 kB / 362.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008504, allocations: 4 kB / 362.9 MB, free: 9.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.008825, allocations: 127.6 kB / 363 MB, free: 9.645 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.0006186/0.009443, allocations: 496.8 kB / 363.5 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.487e-05/0.009498, allocations: 4 kB / 363.5 MB, free: 9.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0095, allocations: 4 kB / 363.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.009501, allocations: 3.938 kB / 363.5 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.009816, allocations: 0.7101 MB / 364.2 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.009983, allocations: 206 kB / 364.4 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.801e-05/0.01002, allocations: 51.36 kB / 364.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.494e-06/0.01003, allocations: 0 / 364.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.01005, allocations: 8.5 kB / 364.5 MB, free: 8.129 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01005, allocations: 0 / 364.5 MB, free: 8.129 MB / 298.7 MB Notification: Performance of Templates: time 0.005913/0.01596, allocations: 3.659 MB / 368.1 MB, free: 4.48 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: 3.0583992581814528]