Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009508/0.0009508, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009421/0.0009421, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.96/0.96, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2561/0.2561, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 323.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.643e-05, allocations: 2.969 kB / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00087/0.0008864, allocations: 0.4989 MB / 323.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.003486, allocations: 2.241 MB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-06/0.003491, allocations: 0 / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.212e-06/0.003497, allocations: 0 / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.031e-06/0.003498, allocations: 0 / 325.9 MB, free: 6.988 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:8:5-88:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:90:5-160:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto2' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:162:5-239:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:241:5-319:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.005024, allocations: 0.6153 MB / 326.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.769e-05/0.005062, allocations: 12.56 kB / 326.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.422e-05/0.005086, allocations: 3.984 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.005199, allocations: 15.92 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.734e-05/0.005236, allocations: 4 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.049e-06/0.005241, allocations: 0 / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007711/0.006013, allocations: 0.6357 MB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.186e-06/0.006021, allocations: 0 / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.006037, allocations: 4.625 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.006656, allocations: 0.5534 MB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006659, allocations: 3.984 kB / 327.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.9e-07/0.006659, allocations: 0 / 327.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.006663, allocations: 0 / 327.8 MB, free: 5.137 MB / 298.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.0002677/0.00693, allocations: 321.6 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.006965, allocations: 12.03 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.007003, allocations: 76.22 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.268e-05/0.007066, allocations: 177.1 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.007103, allocations: 158.9 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.007145, allocations: 158.9 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.15e-05/0.007196, allocations: 101.5 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.007216, allocations: 79.22 kB / 328.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.007262, allocations: 162.5 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/0.007307, allocations: 154.6 kB / 329.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.00734, allocations: 150.6 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.007513, allocations: 357.3 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.007616, allocations: 173 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.007639, allocations: 84.14 kB / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.007657, allocations: 79.28 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.007708, allocations: 135.5 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.007709, allocations: 0 / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.719e-05/0.007756, allocations: 33.64 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.007812, allocations: 156.3 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.648e-05/0.007838, allocations: 93.84 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.007849, allocations: 25.7 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.007871, allocations: 84.14 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.71e-07/0.007871, allocations: 0 / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.00789, allocations: 13.72 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.008037, allocations: 310.8 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-06/0.00804, allocations: 4 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.008062, allocations: 25.7 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.008092, allocations: 83.28 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/0.00811, allocations: 75.28 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.318e-05/0.008143, allocations: 29.69 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.008168, allocations: 85.47 kB / 331.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.008188, allocations: 79.22 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.235e-05/0.00823, allocations: 150.6 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.319e-05/0.008253, allocations: 87.22 kB / 331.4 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.772e-05/0.008291, allocations: 158.5 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.008334, allocations: 83.31 kB / 331.7 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.008352, allocations: 79.22 kB / 331.7 MB, free: 0.9961 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 8.796e-05/0.00844, allocations: 264.4 kB / 332 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.008478, allocations: 105 kB / 332.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.008511, allocations: 107.9 kB / 332.2 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/0.008552, allocations: 184.3 kB / 332.4 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002038/0.008756, allocations: 184.2 kB / 332.6 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.427e-05/0.00881, allocations: 188.2 kB / 332.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.008928, allocations: 309.7 kB / 333 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/0.008958, allocations: 108.9 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.008986, allocations: 109 kB / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.272e-05/0.009039, allocations: 180.2 kB / 333.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.009083, allocations: 184.2 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.682e-05/0.00913, allocations: 180.2 kB / 333.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.693e-05/0.009177, allocations: 184.2 kB / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.009281, allocations: 311.7 kB / 334.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.009312, allocations: 101 kB / 334.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.009371, allocations: 184.2 kB / 334.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.009419, allocations: 104.9 kB / 334.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.009471, allocations: 180.3 kB / 334.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.009502, allocations: 112.9 kB / 334.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.385e-05/0.009516, allocations: 8.859 kB / 334.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009516, allocations: 0 / 334.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003161/0.009832, allocations: 135.6 kB / 335.1 MB, free: 13.47 MB / 314.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.0005725/0.0104, allocations: 438.5 kB / 335.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.539e-05/0.01044, allocations: 4 kB / 335.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01044, allocations: 4 kB / 335.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.01044, allocations: 0 / 335.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.01062, allocations: 459.7 kB / 336 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001145/0.01073, allocations: 163 kB / 336.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.695e-05/0.01076, allocations: 51.36 kB / 336.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.131e-06/0.01076, allocations: 7.938 kB / 336.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.01112, allocations: 51.38 kB / 336.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01112, allocations: 4 kB / 336.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of Templates: time 0.004981/0.0161, allocations: 3.769 MB / 340 MB, free: 8.512 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9952097050845623]