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.0014/0.0014, allocations: 84.73 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001538/0.001538, allocations: 168.6 kB / 23.95 MB, free: 4.172 MB / 14.72 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.473/1.473, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 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.2151/0.2151, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 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.653e-06/1.653e-06, allocations: 0 / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.104e-05, allocations: 2.281 kB / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001427/0.001458, allocations: 0.504 MB / 443.2 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.005027, allocations: 2.171 MB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-06/0.005032, allocations: 0 / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.707e-06/0.005035, allocations: 0 / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.232e-06/0.005037, allocations: 0 / 445.3 MB, free: 2.719 MB / 366.1 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.002221/0.007258, allocations: 0.6411 MB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.025e-05/0.007308, allocations: 7.984 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.00734, allocations: 0 / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.0075, allocations: 23.86 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.007547, allocations: 8 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.007554, allocations: 0 / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.008668, allocations: 0.6358 MB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-06/0.008674, allocations: 0 / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.008695, allocations: 0 / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.009537, allocations: 0.5691 MB / 447.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.009542, allocations: 0 / 447.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.009543, allocations: 4 kB / 447.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.00955, allocations: 0 / 447.2 MB, free: 0.832 MB / 366.1 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.0004708/0.01002, allocations: 355.3 kB / 447.6 MB, free: 460 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.01006, allocations: 15.97 kB / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.01013, allocations: 76.22 kB / 447.7 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.01025, allocations: 177.1 kB / 447.8 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.01033, allocations: 150.9 kB / 448 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1945/0.2048, allocations: 156.5 kB / 448.1 MB, free: 19.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.105e-05/0.2049, allocations: 104.2 kB / 448.2 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.205, allocations: 75.28 kB / 448.3 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.205, allocations: 151.1 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.205, allocations: 152.5 kB / 448.6 MB, free: 18.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.2051, allocations: 156.3 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.2052, allocations: 393.2 kB / 449.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.2053, allocations: 181.3 kB / 449.3 MB, free: 18.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.2053, allocations: 80.8 kB / 449.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.2054, allocations: 76.19 kB / 449.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.2054, allocations: 136 kB / 449.6 MB, free: 17.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.2054, allocations: 0.5 kB / 449.6 MB, free: 17.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001003/0.2055, allocations: 27.92 kB / 449.6 MB, free: 17.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2056, allocations: 155.4 kB / 449.8 MB, free: 17.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.818e-05/0.2056, allocations: 94.92 kB / 449.9 MB, free: 17.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.2056, allocations: 26.83 kB / 449.9 MB, free: 17.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.608e-05/0.2056, allocations: 81.27 kB / 450 MB, free: 17.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.2056, allocations: 0 / 450 MB, free: 17.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.2056, allocations: 15.58 kB / 450 MB, free: 17.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.2057, allocations: 316.4 kB / 450.3 MB, free: 16.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.2057, allocations: 1.875 kB / 450.3 MB, free: 16.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.2057, allocations: 28.5 kB / 450.3 MB, free: 16.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.82e-05/0.2057, allocations: 77.22 kB / 450.4 MB, free: 16.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.2057, allocations: 78.88 kB / 450.5 MB, free: 16.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.433e-05/0.2058, allocations: 37.47 kB / 450.5 MB, free: 16.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.2058, allocations: 80.58 kB / 450.6 MB, free: 16.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.2058, allocations: 76.5 kB / 450.7 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.13e-05/0.2059, allocations: 153.5 kB / 450.8 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.19e-05/0.2059, allocations: 83.72 kB / 450.9 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.2059, allocations: 156.2 kB / 451.1 MB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.206, allocations: 82.38 kB / 451.1 MB, free: 16.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.206, allocations: 78.09 kB / 451.2 MB, free: 16.1 MB / 366.1 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 7.618e-05/0.2061, allocations: 261.2 kB / 451.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.2061, allocations: 107.8 kB / 451.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.2061, allocations: 111.7 kB / 451.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/0.2062, allocations: 180.5 kB / 451.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/0.2062, allocations: 183.8 kB / 452 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/0.2062, allocations: 181.8 kB / 452.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.2064, allocations: 354.4 kB / 452.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.2064, allocations: 105.5 kB / 452.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.2064, allocations: 103 kB / 452.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.521e-05/0.2064, allocations: 189.5 kB / 453 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.2064, allocations: 181.2 kB / 453.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.396e-05/0.2065, allocations: 182.4 kB / 453.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-05/0.2065, allocations: 180.6 kB / 453.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.407e-05/0.2066, allocations: 309.7 kB / 453.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.2066, allocations: 108.8 kB / 453.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.2066, allocations: 190.7 kB / 454.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-05/0.2067, allocations: 104.7 kB / 454.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.2067, allocations: 180.4 kB / 454.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2067, allocations: 110.3 kB / 454.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.495e-05/0.2067, allocations: 75.28 kB / 454.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2067, allocations: 1.719 kB / 454.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006003/0.2073, allocations: 136.7 kB / 454.7 MB, free: 12.67 MB / 366.1 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.000868/0.2082, allocations: 451.3 kB / 455.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.487e-05/0.2083, allocations: 1.969 kB / 455.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.2083, allocations: 3.25 kB / 455.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.2083, allocations: 0 / 455.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.2085, allocations: 467.5 kB / 455.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001199/0.2086, allocations: 160.6 kB / 455.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.588e-05/0.2087, allocations: 54.77 kB / 455.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.911e-06/0.2087, allocations: 3.969 kB / 455.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.126e-05/0.2087, allocations: 9.75 kB / 455.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2087, allocations: 0 / 455.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Templates: time 0.009268/0.2179, allocations: 3.299 MB / 459.1 MB, free: 11.52 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] 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.030471455305815]