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.0009583/0.0009583, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00113/0.00113, allocations: 169.1 kB / 24.91 MB, free: 9.191 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2502/0.2502, allocations: 32.8 MB / 294.6 MB, free: 1.23 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.673e-06/1.673e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.162e-05, allocations: 5.859 kB / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001877/0.001898, allocations: 0.5412 MB / 323.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.005458, allocations: 2.237 MB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-06/0.005463, allocations: 4 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.283e-06/0.005471, allocations: 0 / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.303e-06/0.005472, allocations: 0 / 326 MB, free: 6.879 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.00189/0.007362, allocations: 0.5606 MB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.007405, allocations: 12.62 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.821e-05/0.007433, allocations: 7.969 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.007553, allocations: 11.94 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.255e-05/0.007596, allocations: 4 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-06/0.007601, allocations: 4 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.008677, allocations: 0.6831 MB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-06/0.008682, allocations: 0 / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.008697, allocations: 4 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007142/0.009412, allocations: 0.5612 MB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.009414, allocations: 0 / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009415, allocations: 0 / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.009418, allocations: 0 / 327.9 MB, free: 5.027 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.0003005/0.009719, allocations: 329.6 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.009751, allocations: 8.031 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.009799, allocations: 76.22 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.009876, allocations: 185.1 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.009919, allocations: 150.9 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.009959, allocations: 154.9 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.488e-05/0.01001, allocations: 113.4 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.01004, allocations: 83.22 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.01008, allocations: 150.6 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.346e-05/0.01013, allocations: 158.5 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.01017, allocations: 154.6 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.01035, allocations: 349.3 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.452e-05/0.01043, allocations: 173.1 kB / 329.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.01045, allocations: 80.14 kB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.01048, allocations: 79.28 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.01054, allocations: 135.5 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.01054, allocations: 4 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.931e-05/0.0106, allocations: 29.69 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.01066, allocations: 160.3 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.042e-05/0.01069, allocations: 93.84 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.0107, allocations: 29.7 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.01086, allocations: 80.14 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.91e-07/0.01086, allocations: 0 / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.01088, allocations: 13.72 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.01096, allocations: 310.8 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-06/0.01097, allocations: 0 / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.01099, allocations: 29.7 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.987e-05/0.01101, allocations: 79.31 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.01103, allocations: 75.28 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.105e-05/0.01109, allocations: 33.69 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.01112, allocations: 79.28 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.01114, allocations: 79.22 kB / 331.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.904e-05/0.01119, allocations: 158.6 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.113e-05/0.01121, allocations: 79.22 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.929e-05/0.01125, allocations: 154.5 kB / 331.7 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.01131, allocations: 79.28 kB / 331.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.01133, allocations: 83.2 kB / 331.8 MB, free: 0.8867 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.573e-05/0.01142, allocations: 264.4 kB / 332.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.01147, allocations: 101 kB / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.0115, allocations: 111.9 kB / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-05/0.01154, allocations: 180.3 kB / 332.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.844e-05/0.01159, allocations: 188.2 kB / 332.6 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-05/0.01166, allocations: 188.1 kB / 332.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.01182, allocations: 317.7 kB / 333.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/0.01185, allocations: 104.9 kB / 333.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.01188, allocations: 109 kB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.675e-05/0.01193, allocations: 184.2 kB / 333.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.01197, allocations: 184.2 kB / 333.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.533e-05/0.01202, allocations: 180.3 kB / 333.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.646e-05/0.01206, allocations: 184.2 kB / 334.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.01217, allocations: 307.7 kB / 334.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.0122, allocations: 101 kB / 334.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.01225, allocations: 180.3 kB / 334.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.01232, allocations: 104.9 kB / 334.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.01237, allocations: 188.2 kB / 334.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.0124, allocations: 104.9 kB / 335 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.126e-05/0.01241, allocations: 4.859 kB / 335 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01241, allocations: 0 / 335 MB, free: 13.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004457/0.01286, allocations: 139.6 kB / 335.2 MB, free: 13.36 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.0007247/0.01358, allocations: 435.5 kB / 335.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.461e-05/0.01362, allocations: 4 kB / 335.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01362, allocations: 3.938 kB / 335.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.01362, allocations: 0 / 335.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.01385, allocations: 467.7 kB / 336.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001233/0.01397, allocations: 167 kB / 336.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.195e-05/0.01401, allocations: 51.36 kB / 336.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.079e-06/0.01401, allocations: 0 / 336.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.01407, allocations: 59.36 kB / 336.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01407, allocations: 0 / 336.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of Templates: time 0.007071/0.02114, allocations: 3.761 MB / 340.1 MB, free: 8.402 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 -s gbode -gbm=radauIIA3 -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.973917274735868]