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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008119/0.0008119, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.001959, allocations: 445.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007363/0.0007363, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00151/0.002246, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.111/1.111, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09996/1.211, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.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.1401/0.1401, allocations: 32.8 MB / 272 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1316/0.2717, allocations: 12.56 MB / 284.5 MB, free: 11.88 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.192e-06/1.192e-06, allocations: 0 / 285.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.305e-05, allocations: 2.859 kB / 285.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0009436/0.0009566, allocations: 0.5447 MB / 286.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.00303, allocations: 2.145 MB / 288.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-06/0.003034, allocations: 0 / 288.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.514e-06/0.003036, allocations: 1.031 kB / 288.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.9e-07/0.003036, allocations: 0 / 288.5 MB, free: 8.762 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Nonlinear.mo:8:5-85: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.0.0+maint.om/Math/Nonlinear.mo:87:5-157: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.0.0+maint.om/Math/Nonlinear.mo:159:5-233: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.0.0+maint.om/Math/Nonlinear.mo:235:5-313: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.001094/0.00413, allocations: 0.5532 MB / 289.1 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.032e-05/0.004171, allocations: 7.562 kB / 289.1 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.174e-05/0.004192, allocations: 9.797 kB / 289.1 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.004252, allocations: 23.02 kB / 289.1 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.569e-05/0.004288, allocations: 3.625 kB / 289.1 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-06/0.004292, allocations: 0 / 289.1 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007224/0.005015, allocations: 0.6464 MB / 289.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.005025, allocations: 9.312 kB / 289.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.211e-05/0.005037, allocations: 1.438 kB / 289.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.005495, allocations: 427.4 kB / 290.2 MB, free: 7.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.005502, allocations: 1.406 kB / 290.2 MB, free: 7.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005503, allocations: 0 / 290.2 MB, free: 7.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.00551, allocations: 0 / 290.2 MB, free: 7.898 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.0002712/0.005781, allocations: 380.7 kB / 290.6 MB, free: 7.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.005809, allocations: 17.44 kB / 290.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.005853, allocations: 81.59 kB / 290.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.982e-05/0.005932, allocations: 178.5 kB / 290.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.005967, allocations: 156.3 kB / 291 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.006001, allocations: 152.3 kB / 291.1 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.497e-05/0.006046, allocations: 102.9 kB / 291.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.006065, allocations: 83.2 kB / 291.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.006102, allocations: 151.9 kB / 291.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.006135, allocations: 155.9 kB / 291.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.006166, allocations: 151.9 kB / 291.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.006296, allocations: 352.1 kB / 292.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.752e-05/0.006354, allocations: 170.5 kB / 292.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.006373, allocations: 81.52 kB / 292.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.00639, allocations: 83.22 kB / 292.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.006436, allocations: 134.3 kB / 292.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.006438, allocations: 0 / 292.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.703e-05/0.006485, allocations: 27.08 kB / 292.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.006548, allocations: 238.8 kB / 292.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.254e-05/0.006571, allocations: 89.86 kB / 292.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.006579, allocations: 27.08 kB / 292.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.006e-05/0.006599, allocations: 85.5 kB / 293 MB, free: 4.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.62e-07/0.0066, allocations: 0 / 293 MB, free: 4.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.006619, allocations: 13.84 kB / 293 MB, free: 4.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.006685, allocations: 312.2 kB / 293.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-06/0.006688, allocations: 4 kB / 293.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.006708, allocations: 31.02 kB / 293.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.891e-05/0.006727, allocations: 80.66 kB / 293.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.006741, allocations: 75.28 kB / 293.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.03e-05/0.006772, allocations: 32.44 kB / 293.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.006796, allocations: 84.72 kB / 293.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.006822, allocations: 80.7 kB / 293.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.374e-05/0.006866, allocations: 155.9 kB / 293.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.669e-05/0.006883, allocations: 76.66 kB / 293.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.251e-05/0.006915, allocations: 159.8 kB / 294.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.006957, allocations: 76.66 kB / 294.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.006975, allocations: 84.67 kB / 294.3 MB, free: 3.734 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 6.898e-05/0.007044, allocations: 263.1 kB / 294.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.007076, allocations: 107.7 kB / 294.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.007102, allocations: 105.4 kB / 294.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.065e-05/0.007143, allocations: 181.8 kB / 294.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.796e-05/0.007181, allocations: 185.6 kB / 295.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/0.007218, allocations: 185.5 kB / 295.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.007326, allocations: 316.2 kB / 295.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/0.007348, allocations: 102.4 kB / 295.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.00737, allocations: 104.9 kB / 295.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.007398, allocations: 119.7 kB / 295.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.869e-05/0.007437, allocations: 181.6 kB / 296.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.007476, allocations: 177.6 kB / 296.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.655e-05/0.007512, allocations: 181.6 kB / 296.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-05/0.007552, allocations: 185.6 kB / 296.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.502e-05/0.007637, allocations: 309.2 kB / 296.9 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.00768, allocations: 183 kB / 297.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.007723, allocations: 102.4 kB / 297.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.007766, allocations: 185.6 kB / 297.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.007788, allocations: 102.4 kB / 297.5 MB, free: 400 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.064e-05/0.007799, allocations: 8.859 kB / 297.5 MB, free: 388 kB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007799, allocations: 1.375 kB / 297.5 MB, free: 388 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.00808, allocations: 129.2 kB / 297.6 MB, free: 356 kB / 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.0005951/0.008675, allocations: 472.4 kB / 298.1 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 3.321e-05/0.008708, allocations: 5.312 kB / 298.1 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.008711, allocations: 1.375 kB / 298.1 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.008713, allocations: 0 / 298.1 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.008897, allocations: 462.3 kB / 298.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.883e-05/0.008996, allocations: 163.5 kB / 298.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.31e-05/0.009019, allocations: 51.36 kB / 298.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.331e-06/0.009025, allocations: 0 / 298.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.009064, allocations: 54.69 kB / 298.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009064, allocations: 3.031 kB / 298.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.00452/0.01358, allocations: 3.558 MB / 302.3 MB, free: 12.33 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.957471133209765]