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.002426/0.002426, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002781/0.002781, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.608/1.608, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3477/0.3477, allocations: 34.26 MB / 295.3 MB, free: 0.6797 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.403e-06/1.403e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.213e-05, allocations: 6.312 kB / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001723/0.001755, allocations: 495.8 kB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.006036, allocations: 2.229 MB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-06/0.006041, allocations: 0 / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-06/0.006044, allocations: 0 / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.006045, allocations: 0 / 380 MB, free: 272 kB / 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.002372/0.008417, allocations: 0.6036 MB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.808e-05/0.008465, allocations: 19.91 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.533e-05/0.008491, allocations: 4 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.008641, allocations: 8 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.00869, allocations: 11.98 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.008697, allocations: 0 / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.01003, allocations: 0.6435 MB / 381.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-06/0.01004, allocations: 0 / 381.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.01007, allocations: 7.984 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.01128, allocations: 0.5534 MB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01128, allocations: 4 kB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.01129, allocations: 0 / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.01129, allocations: 0 / 381.8 MB, free: 14.41 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.0005844/0.01188, allocations: 461.3 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.01191, allocations: 8.031 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.01202, allocations: 120.1 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.01218, allocations: 231.8 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.01232, allocations: 242.8 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.01244, allocations: 242.7 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.01255, allocations: 145.5 kB / 383.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-05/0.01263, allocations: 131.1 kB / 383.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.01276, allocations: 238.4 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.01289, allocations: 238.4 kB / 383.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.01302, allocations: 242.3 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.01345, allocations: 0.5642 MB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.01364, allocations: 273.4 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.01371, allocations: 130.9 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-05/0.01379, allocations: 119.2 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.01392, allocations: 178.3 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.01392, allocations: 0 / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.891e-05/0.01402, allocations: 37.58 kB / 385.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.01415, allocations: 200.3 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.01425, allocations: 142.2 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.01427, allocations: 25.7 kB / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.01436, allocations: 134.9 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.01436, allocations: 0 / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.0144, allocations: 23.36 kB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002647/0.01466, allocations: 492.1 kB / 386.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/0.01466, allocations: 0 / 386.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.01471, allocations: 29.7 kB / 386.4 MB, free: 9.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.01477, allocations: 119.2 kB / 386.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.245e-05/0.01484, allocations: 119.2 kB / 386.6 MB, free: 9.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.8e-05/0.01489, allocations: 33.7 kB / 386.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/0.01497, allocations: 123.2 kB / 386.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.54e-05/0.01504, allocations: 127.2 kB / 386.9 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.0152, allocations: 246.3 kB / 387.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.01527, allocations: 131.1 kB / 387.3 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001252/0.0154, allocations: 238.4 kB / 387.5 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01551, allocations: 123.2 kB / 387.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/0.01557, allocations: 123.1 kB / 387.7 MB, free: 8.25 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.0002449/0.01581, allocations: 395 kB / 388.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.01591, allocations: 148.9 kB / 388.3 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.812e-05/0.016, allocations: 159.8 kB / 388.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001474/0.01615, allocations: 272 kB / 388.7 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001722/0.01632, allocations: 272 kB / 389 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001389/0.01646, allocations: 268.1 kB / 389.2 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.01678, allocations: 491.9 kB / 389.7 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-05/0.01686, allocations: 149.1 kB / 389.9 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.01694, allocations: 156.9 kB / 390 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.01708, allocations: 272 kB / 390.3 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.01723, allocations: 264.1 kB / 390.5 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001963/0.01742, allocations: 268.1 kB / 390.8 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001372/0.01756, allocations: 279.9 kB / 391.1 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.01782, allocations: 444 kB / 391.5 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.0179, allocations: 148.9 kB / 391.6 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.01806, allocations: 272.1 kB / 391.9 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.01819, allocations: 152.8 kB / 392.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.01833, allocations: 268 kB / 392.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.703e-05/0.01843, allocations: 156.8 kB / 392.5 MB, free: 3.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.834e-05/0.01852, allocations: 119.2 kB / 392.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01852, allocations: 0 / 392.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007559/0.01927, allocations: 139.6 kB / 392.7 MB, free: 3.07 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.001062/0.02034, allocations: 494.5 kB / 393.2 MB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.227e-05/0.0204, allocations: 0 / 393.2 MB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0204, allocations: 0 / 393.2 MB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.0204, allocations: 0 / 393.2 MB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.02103, allocations: 0.7062 MB / 393.9 MB, free: 1.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.02127, allocations: 209.6 kB / 394.1 MB, free: 1.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.204e-05/0.02134, allocations: 59.3 kB / 394.2 MB, free: 1.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.321e-06/0.02134, allocations: 0 / 394.2 MB, free: 1.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.02137, allocations: 12.5 kB / 394.2 MB, free: 1.551 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02137, allocations: 0 / 394.2 MB, free: 1.551 MB / 362.7 MB Notification: Performance of Templates: time 0.008974/0.03034, allocations: 3.357 MB / 397.5 MB, free: 14.2 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.06295968091581]