Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001221/0.001221, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001503/0.001503, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9858/0.9858, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2764/0.2764, allocations: 34.26 MB / 295.7 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.718e-05/3.88e-05, allocations: 5.828 kB / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00229/0.002329, allocations: 0.4969 MB / 378.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004394/0.006723, allocations: 2.249 MB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-06/0.006731, allocations: 0 / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.006747, allocations: 4 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.613e-06/0.006749, allocations: 0 / 380.8 MB, free: 15.92 MB / 362.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.002651/0.0094, allocations: 0.6113 MB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.768e-05/0.009457, allocations: 11.97 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.009494, allocations: 4 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.009659, allocations: 19.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.009704, allocations: 4 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.009711, allocations: 7.938 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008359/0.01055, allocations: 0.6348 MB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-06/0.01055, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.01057, allocations: 7.984 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008298/0.0114, allocations: 0.5573 MB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.0114, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01141, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.01141, allocations: 0 / 382.6 MB, free: 14.06 MB / 362.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.0004132/0.01182, allocations: 461.3 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.01187, allocations: 8.031 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.01195, allocations: 128.1 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.346e-05/0.01203, allocations: 223.8 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.01209, allocations: 246.6 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.01216, allocations: 242.8 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.529e-05/0.01224, allocations: 145.5 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.01227, allocations: 123.1 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/0.01236, allocations: 238.4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.493e-05/0.01244, allocations: 238.4 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.751e-05/0.0125, allocations: 246.4 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.01276, allocations: 0.5681 MB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.01288, allocations: 269.4 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.01292, allocations: 126.9 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.01295, allocations: 119.2 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/0.01302, allocations: 182.3 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.01302, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.146e-05/0.01309, allocations: 37.58 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.01315, allocations: 196.3 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.87e-05/0.01319, allocations: 146.2 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.0132, allocations: 25.7 kB / 386.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.01323, allocations: 130.9 kB / 386.6 MB, free: 9.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.01324, allocations: 0 / 386.6 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.01326, allocations: 23.36 kB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.01337, allocations: 492.1 kB / 387.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.01338, allocations: 0 / 387.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.01341, allocations: 29.7 kB / 387.2 MB, free: 9.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.01344, allocations: 119.2 kB / 387.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-05/0.01347, allocations: 119.2 kB / 387.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.49e-05/0.01351, allocations: 33.64 kB / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.01356, allocations: 123.2 kB / 387.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.01359, allocations: 135.2 kB / 387.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.877e-05/0.01366, allocations: 246.3 kB / 387.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.191e-05/0.01369, allocations: 127.1 kB / 388.1 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.493e-05/0.01374, allocations: 242.4 kB / 388.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.0138, allocations: 123.1 kB / 388.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.01383, allocations: 119.2 kB / 388.5 MB, free: 7.906 MB / 362.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.0001193/0.01395, allocations: 399 kB / 388.9 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.014, allocations: 148.9 kB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.01405, allocations: 155.8 kB / 389.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.714e-05/0.0141, allocations: 275.9 kB / 389.5 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.986e-05/0.01416, allocations: 276 kB / 389.8 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.548e-05/0.01422, allocations: 264.1 kB / 390 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.01439, allocations: 499.9 kB / 390.5 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/0.01442, allocations: 149.1 kB / 390.6 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.01445, allocations: 148.9 kB / 390.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.856e-05/0.01452, allocations: 272 kB / 391.1 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/0.01458, allocations: 264.1 kB / 391.3 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.734e-05/0.01464, allocations: 268.1 kB / 391.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.028e-05/0.0147, allocations: 280 kB / 391.9 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.01484, allocations: 440 kB / 392.3 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.01487, allocations: 144.9 kB / 392.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/0.01495, allocations: 284 kB / 392.7 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/0.015, allocations: 148.9 kB / 392.8 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.01507, allocations: 272 kB / 393.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.0151, allocations: 148.8 kB / 393.3 MB, free: 2.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.298e-05/0.01513, allocations: 119.2 kB / 393.4 MB, free: 2.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01513, allocations: 0 / 393.4 MB, free: 2.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004082/0.01554, allocations: 139.6 kB / 393.5 MB, free: 2.727 MB / 362.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.0007271/0.01627, allocations: 0.4891 MB / 394 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.743e-05/0.01633, allocations: 4 kB / 394 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01633, allocations: 0 / 394 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.01633, allocations: 0 / 394 MB, free: 2.234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.01661, allocations: 0.71 MB / 394.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001661/0.01678, allocations: 202 kB / 394.9 MB, free: 1.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.01681, allocations: 51.36 kB / 395 MB, free: 1.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.197e-06/0.01682, allocations: 4 kB / 395 MB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.01684, allocations: 8.5 kB / 395 MB, free: 1.211 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.01684, allocations: 4 kB / 395 MB, free: 1.207 MB / 362.7 MB Notification: Performance of Templates: time 0.005631/0.02247, allocations: 3.366 MB / 398.3 MB, free: 13.85 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.3726627510041]