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.0007325/0.0007325, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009972/0.00173, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0006764/0.0006764, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008792/0.001556, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8813/0.8813, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1358/1.017, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1202/0.1202, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0213/0.1415, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.182e-06/1.182e-06, allocations: 0 / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.396e-05, allocations: 10.19 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0009881/0.001002, allocations: 0.5517 MB / 267.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.003205, allocations: 2.199 MB / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-06/0.003211, allocations: 4 kB / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.956e-06/0.003214, allocations: 0 / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.61e-07/0.003214, allocations: 0 / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.00443, allocations: 0.545 MB / 270.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.698e-05/0.004477, allocations: 8 kB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.588e-05/0.004503, allocations: 3.984 kB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.004569, allocations: 12 kB / 270.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.004614, allocations: 7.984 kB / 270.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-06/0.004619, allocations: 0 / 270.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008099/0.005429, allocations: 0.6551 MB / 271.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.005437, allocations: 8 kB / 271.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.268e-05/0.005449, allocations: 0 / 271.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.005893, allocations: 427.1 kB / 271.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.005902, allocations: 0 / 271.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005903, allocations: 0 / 271.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.005911, allocations: 0 / 271.8 MB, free: 14.13 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.0002896/0.0062, allocations: 377.6 kB / 272.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.006229, allocations: 12.03 kB / 272.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.006275, allocations: 76.22 kB / 272.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.006347, allocations: 177.1 kB / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.006385, allocations: 162.9 kB / 272.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.00642, allocations: 150.9 kB / 272.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.975e-05/0.006469, allocations: 105.5 kB / 272.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.00649, allocations: 83.16 kB / 272.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.006533, allocations: 154.6 kB / 273.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.006569, allocations: 154.5 kB / 273.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.006602, allocations: 150.6 kB / 273.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.006744, allocations: 361.2 kB / 273.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.064e-05/0.006805, allocations: 169.1 kB / 273.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.006828, allocations: 80.14 kB / 274 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.006846, allocations: 75.28 kB / 274 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.006899, allocations: 135.6 kB / 274.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 4.81e-07/0.006899, allocations: 0 / 274.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.238e-05/0.006951, allocations: 37.64 kB / 274.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.007022, allocations: 237.4 kB / 274.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.442e-05/0.007047, allocations: 89.86 kB / 274.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.007056, allocations: 25.7 kB / 274.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.007078, allocations: 84.14 kB / 274.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.82e-07/0.007079, allocations: 0 / 274.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.007097, allocations: 13.72 kB / 274.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.007166, allocations: 314.8 kB / 274.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-06/0.007169, allocations: 4 kB / 274.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.007192, allocations: 29.7 kB / 275 MB, free: 10.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.713e-05/0.007209, allocations: 75.28 kB / 275.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.007226, allocations: 75.28 kB / 275.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.294e-05/0.007259, allocations: 41.69 kB / 275.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.007285, allocations: 79.28 kB / 275.2 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.007305, allocations: 75.28 kB / 275.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.189e-05/0.007347, allocations: 154.6 kB / 275.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.007365, allocations: 79.22 kB / 275.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.383e-05/0.007409, allocations: 158.5 kB / 275.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.007455, allocations: 87.22 kB / 275.8 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.007472, allocations: 83.3 kB / 275.9 MB, free: 9.84 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 7.631e-05/0.007548, allocations: 264.4 kB / 276.1 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.007581, allocations: 101 kB / 276.2 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.00761, allocations: 111.9 kB / 276.3 MB, free: 9.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/0.007648, allocations: 176.3 kB / 276.5 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.011e-05/0.007688, allocations: 184.2 kB / 276.7 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-05/0.007728, allocations: 184.2 kB / 276.9 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.007847, allocations: 321.3 kB / 277.2 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/0.00787, allocations: 105 kB / 277.3 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.007895, allocations: 105 kB / 277.4 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.007922, allocations: 116.9 kB / 277.5 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.932e-05/0.007961, allocations: 180.3 kB / 277.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.008002, allocations: 176.3 kB / 277.8 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-05/0.008047, allocations: 180.2 kB / 278 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-05/0.008087, allocations: 180.3 kB / 278.2 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.348e-05/0.00818, allocations: 312 kB / 278.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.008228, allocations: 188.2 kB / 278.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.008276, allocations: 105 kB / 278.8 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.008318, allocations: 184.2 kB / 279 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.008341, allocations: 104.9 kB / 279.1 MB, free: 6.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.166e-05/0.008352, allocations: 8.859 kB / 279.1 MB, free: 6.449 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008352, allocations: 0 / 279.1 MB, free: 6.449 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002978/0.00865, allocations: 127.7 kB / 279.2 MB, free: 6.324 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.0005846/0.009235, allocations: 456.5 kB / 279.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 3.965e-05/0.009274, allocations: 4 kB / 279.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.009278, allocations: 7.938 kB / 279.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.225e-06/0.00928, allocations: 0 / 279.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.009454, allocations: 463.6 kB / 280.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001128/0.009567, allocations: 160.1 kB / 280.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.026e-05/0.009597, allocations: 51.36 kB / 280.3 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.943e-06/0.009604, allocations: 0 / 280.3 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.009646, allocations: 59.36 kB / 280.4 MB, free: 5.09 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009647, allocations: 0 / 280.4 MB, free: 5.09 MB / 282.7 MB Notification: Performance of Templates: time 0.004458/0.0141, allocations: 3.561 MB / 283.9 MB, free: 1.52 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: 2.46644223947078]