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.001123/0.001123, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004643/0.005766, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001516/0.001516, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007255/0.008771, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1208/1.178, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.3421/0.3421, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06504/0.4072, allocations: 12.52 MB / 289.3 MB, free: 8.68 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.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 2.134e-06/2.134e-06, allocations: 0 / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.399e-05, allocations: 4.422 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001619/0.001653, allocations: 0.5359 MB / 291.1 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.004743, allocations: 2.258 MB / 293.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-06/0.00475, allocations: 0 / 293.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.248e-06/0.004754, allocations: 0 / 293.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.61e-07/0.004755, allocations: 1.875 kB / 293.4 MB, free: 5.488 MB / 282.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.001993/0.006748, allocations: 0.5635 MB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.006816, allocations: 8.562 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.006854, allocations: 3.984 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.007011, allocations: 23.92 kB / 294 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.007063, allocations: 4 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.311e-06/0.007069, allocations: 0 / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.008293, allocations: 0.6787 MB / 294.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.008302, allocations: 7.938 kB / 294.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.008322, allocations: 4 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007694/0.009091, allocations: 443 kB / 295.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.808e-05/0.009109, allocations: 4 kB / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.009111, allocations: 0 / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.009133, allocations: 0 / 295.1 MB, free: 3.777 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.0004987/0.009632, allocations: 381.5 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.009672, allocations: 12.03 kB / 295.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.009742, allocations: 80.2 kB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/0.009833, allocations: 181.1 kB / 295.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.009888, allocations: 154.9 kB / 295.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.009932, allocations: 150.9 kB / 296.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.549e-05/0.01001, allocations: 105.5 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.01004, allocations: 79.22 kB / 296.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.0101, allocations: 154.6 kB / 296.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.01015, allocations: 150.6 kB / 296.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.044e-05/0.01021, allocations: 154.6 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.01041, allocations: 353.3 kB / 297 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.727e-05/0.0105, allocations: 173.1 kB / 297.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.01053, allocations: 88.17 kB / 297.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.01055, allocations: 83.27 kB / 297.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.951e-05/0.01063, allocations: 135.5 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.01063, allocations: 4 kB / 297.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 7.318e-05/0.01071, allocations: 25.7 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.01079, allocations: 160.3 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.599e-05/0.01083, allocations: 89.86 kB / 297.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.01084, allocations: 33.7 kB / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.01087, allocations: 80.14 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.32e-07/0.01087, allocations: 0 / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.01089, allocations: 17.66 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.01099, allocations: 314.8 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-06/0.011, allocations: 4 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.01103, allocations: 29.7 kB / 298.2 MB, free: 484 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.01105, allocations: 75.28 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/0.01108, allocations: 75.28 kB / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.618e-05/0.01112, allocations: 29.7 kB / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.01116, allocations: 79.28 kB / 298.5 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.01119, allocations: 79.22 kB / 298.6 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-05/0.01126, allocations: 154.6 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.033e-05/0.01129, allocations: 83.2 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.582e-05/0.01134, allocations: 154.5 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.0114, allocations: 79.31 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.01142, allocations: 87.38 kB / 299.1 MB, free: 15.58 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 0.0001037/0.01152, allocations: 264.3 kB / 299.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.01157, allocations: 105 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.01162, allocations: 115.9 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/0.01167, allocations: 176.3 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.672e-05/0.01173, allocations: 184.2 kB / 299.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/0.01178, allocations: 188.1 kB / 300.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.01193, allocations: 317.5 kB / 300.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-05/0.01196, allocations: 112.9 kB / 300.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.01199, allocations: 101 kB / 300.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.01203, allocations: 109 kB / 300.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.635e-05/0.01209, allocations: 180.2 kB / 300.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.01214, allocations: 176.3 kB / 301.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-05/0.01221, allocations: 188.2 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-05/0.01226, allocations: 176.3 kB / 301.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.0124, allocations: 307.7 kB / 301.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.01248, allocations: 184.2 kB / 301.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.01253, allocations: 104.9 kB / 302 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.0126, allocations: 180.3 kB / 302.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.01264, allocations: 104.9 kB / 302.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.954e-05/0.01266, allocations: 8.859 kB / 302.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01266, allocations: 0 / 302.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005475/0.0132, allocations: 139.7 kB / 302.5 MB, free: 12.06 MB / 298.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.0007791/0.01398, allocations: 451 kB / 302.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.058e-05/0.01405, allocations: 352 / 302.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.01406, allocations: 3.984 kB / 302.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.023e-06/0.01406, allocations: 8 kB / 302.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01432, allocations: 462.1 kB / 303.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001678/0.01449, allocations: 162.2 kB / 303.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.443e-05/0.01453, allocations: 51.36 kB / 303.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.139e-05/0.01454, allocations: 0 / 303.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.01462, allocations: 55.38 kB / 303.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01462, allocations: 0 / 303.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of Templates: time 0.007101/0.02172, allocations: 3.767 MB / 307.4 MB, free: 7.094 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.147533141076565]