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.001596/0.001596, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001985/0.001985, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2292/0.2292, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 75.88 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3927, allocations: 65.46 MB / 0.5574 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002228/0.3949, allocations: 0.499 MB / 0.5579 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00421/0.3991, allocations: 2.16 MB / 0.56 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-06/0.3991, allocations: 4 kB / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.526e-06/0.3991, allocations: 0 / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.82e-07/0.3991, allocations: 0 / 0.56 GB, free: 4.68 MB / 398.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.002359/0.4015, allocations: 0.626 MB / 0.5606 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.925e-05/0.4015, allocations: 15.92 kB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.4016, allocations: 3.984 kB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.4017, allocations: 15.94 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.4018, allocations: 11.98 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-06/0.4018, allocations: 0 / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.4029, allocations: 0.6359 MB / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-06/0.4029, allocations: 0 / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.4029, allocations: 7.984 kB / 0.5613 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006998/0.4036, allocations: 450.8 kB / 0.5617 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4036, allocations: 0 / 0.5617 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4036, allocations: 0 / 0.5617 GB, free: 2.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4036, allocations: 7.938 kB / 0.5618 GB, free: 2.922 MB / 398.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.0004661/0.4041, allocations: 357.3 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4041, allocations: 8.031 kB / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.4042, allocations: 80.22 kB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4043, allocations: 177.8 kB / 0.5623 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.4044, allocations: 154.9 kB / 0.5625 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.4045, allocations: 158.7 kB / 0.5626 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.522e-05/0.4046, allocations: 104.9 kB / 0.5627 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.4046, allocations: 75.28 kB / 0.5628 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.4047, allocations: 150.6 kB / 0.563 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/0.4047, allocations: 150.6 kB / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/0.4048, allocations: 162.6 kB / 0.5633 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.4051, allocations: 389.6 kB / 0.5636 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.4052, allocations: 173.1 kB / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.4052, allocations: 80.14 kB / 0.5639 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.4053, allocations: 75.28 kB / 0.5639 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.307e-05/0.4054, allocations: 143.5 kB / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.4054, allocations: 0 / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.974e-05/0.4055, allocations: 29.69 kB / 0.5641 GB, free: 376 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.4055, allocations: 156.3 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.4056, allocations: 89.86 kB / 0.5643 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.4056, allocations: 33.7 kB / 0.5644 GB, free: 60 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.4057, allocations: 80.14 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.4057, allocations: 0 / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.4057, allocations: 13.72 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4058, allocations: 310.8 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-06/0.4058, allocations: 0 / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.4059, allocations: 33.64 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/0.4059, allocations: 79.27 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.473e-05/0.406, allocations: 79.28 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.768e-05/0.406, allocations: 33.77 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.4061, allocations: 83.22 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/0.4061, allocations: 87.25 kB / 0.5651 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.007e-05/0.4062, allocations: 150.6 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/0.4062, allocations: 79.22 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.441e-05/0.4063, allocations: 150.6 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.4064, allocations: 79.28 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.4064, allocations: 87.25 kB / 0.5657 GB, free: 14.7 MB / 414.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 0.0001444/0.4065, allocations: 264.4 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.4066, allocations: 108.9 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.4067, allocations: 115.7 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.509e-05/0.4068, allocations: 176.3 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-05/0.4068, allocations: 188.2 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.572e-05/0.4069, allocations: 188.2 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.4071, allocations: 348.9 kB / 0.567 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/0.4072, allocations: 104.9 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.4072, allocations: 105 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-05/0.4073, allocations: 176.3 kB / 0.5674 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-05/0.4074, allocations: 188.1 kB / 0.5675 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-05/0.4075, allocations: 180.3 kB / 0.5677 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.974e-05/0.4076, allocations: 184.2 kB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.4077, allocations: 303.8 kB / 0.5682 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.4078, allocations: 112.9 kB / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4079, allocations: 188.2 kB / 0.5685 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.408, allocations: 104.9 kB / 0.5686 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.4081, allocations: 188.2 kB / 0.5687 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.4081, allocations: 101 kB / 0.5688 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.4e-05/0.4081, allocations: 79.22 kB / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4081, allocations: 0 / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005462/0.4087, allocations: 143.6 kB / 0.5691 GB, free: 11.04 MB / 414.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.0008603/0.4095, allocations: 412.2 kB / 0.5694 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.272e-05/0.4096, allocations: 4 kB / 0.5694 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4096, allocations: 0 / 0.5694 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.4096, allocations: 0 / 0.5694 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.41, allocations: 459.7 kB / 0.5699 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/0.4102, allocations: 148.3 kB / 0.57 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.781e-05/0.4102, allocations: 63.28 kB / 0.5701 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.963e-06/0.4102, allocations: 0 / 0.5701 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.4102, allocations: 11.44 kB / 0.5701 GB, free: 9.914 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4102, allocations: 0 / 0.5701 GB, free: 9.914 MB / 414.1 MB Notification: Performance of Templates: time 0.008142/0.4184, allocations: 3.26 MB / 0.5733 GB, free: 6.656 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.358071904629469]