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.0009844/0.0009844, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.0009288/0.0009288, allocations: 161 kB / 24.56 MB, free: 40 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.9727/0.9727, allocations: 177.1 MB / 205 MB, free: 5.629 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.2811/0.2811, allocations: 32.81 MB / 294.3 MB, free: 1.301 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.874e-06/1.874e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.806e-05, allocations: 2.312 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001583/0.001611, allocations: 0.5003 MB / 376.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003877/0.005488, allocations: 2.241 MB / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-06/0.005493, allocations: 4 kB / 378.8 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.659e-06/0.005503, allocations: 0 / 378.8 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.005509, allocations: 0 / 378.8 MB, free: 1.91 MB / 346.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.002474/0.007983, allocations: 0.5997 MB / 379.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.008052, allocations: 19.92 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.008092, allocations: 7.922 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.0083, allocations: 11.94 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.008355, allocations: 8 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.008364, allocations: 0 / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009057/0.00927, allocations: 0.6435 MB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.00928, allocations: 0 / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.009301, allocations: 3.984 kB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008208/0.01012, allocations: 0.5534 MB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.01013, allocations: 0 / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01013, allocations: 0 / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.01013, allocations: 4 kB / 380.6 MB, free: 56 kB / 346.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.0009643/0.0111, allocations: 461.2 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.01116, allocations: 12.03 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.01125, allocations: 120.1 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.01135, allocations: 227.8 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.01143, allocations: 238.8 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.0115, allocations: 250.7 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/0.01159, allocations: 145.5 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.01163, allocations: 123.1 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.01172, allocations: 242.4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-05/0.0118, allocations: 242.4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.01187, allocations: 238.4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.01215, allocations: 0.5642 MB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.01231, allocations: 269.4 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.01236, allocations: 126.9 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.0124, allocations: 119.2 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.71e-05/0.0125, allocations: 186.3 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.0125, allocations: 0 / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.981e-05/0.01259, allocations: 33.58 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/0.01267, allocations: 200.3 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.612e-05/0.01273, allocations: 142.2 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.01274, allocations: 29.7 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.01279, allocations: 130.9 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.01279, allocations: 0 / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.01281, allocations: 19.38 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.01295, allocations: 496.1 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-06/0.01295, allocations: 0 / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.01299, allocations: 29.69 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.01303, allocations: 119.2 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-05/0.01307, allocations: 127.1 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.528e-05/0.01314, allocations: 25.7 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.01319, allocations: 131.3 kB / 385.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.875e-05/0.01323, allocations: 127.1 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-05/0.01331, allocations: 242.3 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.656e-05/0.01334, allocations: 123.1 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.244e-05/0.0134, allocations: 246.4 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.01347, allocations: 123.2 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.0135, allocations: 127.1 kB / 386.5 MB, free: 9.895 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.0001447/0.01364, allocations: 391 kB / 386.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.0137, allocations: 148.9 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.01376, allocations: 159.8 kB / 387.2 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.878e-05/0.01384, allocations: 276 kB / 387.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-05/0.01392, allocations: 272 kB / 387.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-05/0.014, allocations: 264.1 kB / 388 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.01465, allocations: 491.9 kB / 388.5 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/0.01469, allocations: 149.1 kB / 388.6 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.01473, allocations: 156.9 kB / 388.8 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-05/0.01482, allocations: 276 kB / 389 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.89e-05/0.01491, allocations: 264.1 kB / 389.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.472e-05/0.01498, allocations: 264.1 kB / 389.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.48e-05/0.01508, allocations: 276 kB / 389.8 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.01525, allocations: 448 kB / 390.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.0153, allocations: 152.9 kB / 390.4 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.01538, allocations: 268.1 kB / 390.7 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.01544, allocations: 152.8 kB / 390.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.01551, allocations: 272 kB / 391.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.01555, allocations: 148.8 kB / 391.2 MB, free: 4.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.79e-05/0.0156, allocations: 123.2 kB / 391.4 MB, free: 4.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0156, allocations: 0 / 391.4 MB, free: 4.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004661/0.01607, allocations: 139.6 kB / 391.5 MB, free: 4.719 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.0008237/0.01689, allocations: 498.4 kB / 392 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.01697, allocations: 4 kB / 392 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01698, allocations: 0 / 392 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.01698, allocations: 0 / 392 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.01731, allocations: 0.7062 MB / 392.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.01752, allocations: 217.9 kB / 392.9 MB, free: 3.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.01756, allocations: 51.36 kB / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.446e-06/0.01757, allocations: 0 / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.01759, allocations: 12.5 kB / 393 MB, free: 3.191 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01759, allocations: 0 / 393 MB, free: 3.191 MB / 362.7 MB Notification: Performance of Templates: time 0.007686/0.02528, allocations: 3.867 MB / 396.8 MB, free: 15.33 MB / 378.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: 3.3486288911662996]