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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 186.2 kB / 24.51 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2348/0.2348, allocations: 44.9 MB / 353.5 MB, free: 11.84 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002032/0.002032, allocations: 63.91 kB / 497.7 MB, free: 1.023 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4175, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002224/0.4197, allocations: 0.4924 MB / 0.5493 GB, free: 12.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004104/0.4238, allocations: 2.233 MB / 0.5515 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-06/0.4238, allocations: 0 / 0.5515 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.899e-06/0.4238, allocations: 0 / 0.5515 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 1.704e-06/0.4238, allocations: 0 / 0.5515 GB, free: 11.04 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Nonlinear.mo:8:5-85: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.0.0+maint.om/Math/Nonlinear.mo:87:5-157: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.0.0+maint.om/Math/Nonlinear.mo:159:5-233: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.0.0+maint.om/Math/Nonlinear.mo:235:5-313: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.002297/0.4261, allocations: 0.6101 MB / 0.5521 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.4262, allocations: 8.938 kB / 0.5521 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.4262, allocations: 5.141 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.271e-05/0.4263, allocations: 9.344 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.4264, allocations: 8.359 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.4264, allocations: 0 / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.4276, allocations: 0.6533 MB / 0.5527 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.4276, allocations: 1.219 kB / 0.5527 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.4276, allocations: 2.375 kB / 0.5527 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.4283, allocations: 426.7 kB / 0.5531 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4283, allocations: 1.281 kB / 0.5531 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.493e-06/0.4283, allocations: 0 / 0.5531 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.962e-06/0.4283, allocations: 0 / 0.5531 GB, free: 10.09 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.0004702/0.4288, allocations: 353.8 kB / 0.5535 GB, free: 9.742 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4288, allocations: 9.828 kB / 0.5535 GB, free: 9.742 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.155e-05/0.4289, allocations: 86.41 kB / 0.5536 GB, free: 9.66 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.4291, allocations: 182.9 kB / 0.5537 GB, free: 9.457 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.4292, allocations: 150.9 kB / 0.5539 GB, free: 9.309 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.4292, allocations: 159.8 kB / 0.554 GB, free: 9.152 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.779e-05/0.4293, allocations: 101 kB / 0.5541 GB, free: 9.047 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.4294, allocations: 75.28 kB / 0.5542 GB, free: 8.973 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/0.4294, allocations: 159.7 kB / 0.5544 GB, free: 8.816 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.807e-05/0.4295, allocations: 151.8 kB / 0.5545 GB, free: 8.668 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.32e-05/0.4296, allocations: 154.5 kB / 0.5546 GB, free: 8.516 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.4299, allocations: 423.2 kB / 0.5551 GB, free: 8.062 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.43, allocations: 170.4 kB / 0.5552 GB, free: 7.887 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.43, allocations: 84.08 kB / 0.5553 GB, free: 7.801 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.4301, allocations: 76.28 kB / 0.5554 GB, free: 7.727 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.356e-05/0.4302, allocations: 132.7 kB / 0.5555 GB, free: 7.582 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4302, allocations: 0 / 0.5555 GB, free: 7.582 MB / 398.1 MB
Notification: Performance of matching and sorting (n=0): time 9.515e-05/0.4303, allocations: 30.83 kB / 0.5555 GB, free: 7.547 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.4304, allocations: 157.5 kB / 0.5557 GB, free: 7.375 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.4304, allocations: 93.86 kB / 0.5558 GB, free: 7.273 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.4305, allocations: 26.83 kB / 0.5558 GB, free: 7.242 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.4305, allocations: 81.3 kB / 0.5559 GB, free: 7.16 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.4305, allocations: 0 / 0.5559 GB, free: 7.16 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.4305, allocations: 17.39 kB / 0.5559 GB, free: 7.141 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001539/0.4307, allocations: 311.9 kB / 0.5562 GB, free: 6.828 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-06/0.4307, allocations: 0 / 0.5562 GB, free: 6.828 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.4307, allocations: 6.75 kB / 0.5562 GB, free: 6.824 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.4308, allocations: 75.28 kB / 0.5563 GB, free: 6.75 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-05/0.4308, allocations: 75.28 kB / 0.5563 GB, free: 6.676 MB / 398.1 MB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.992e-05/0.4308, allocations: 37.2 kB / 0.5564 GB, free: 6.637 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.4309, allocations: 80.59 kB / 0.5564 GB, free: 6.562 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/0.4309, allocations: 79.27 kB / 0.5565 GB, free: 6.484 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000101/0.431, allocations: 159.9 kB / 0.5567 GB, free: 6.328 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.136e-05/0.4311, allocations: 88.58 kB / 0.5568 GB, free: 6.242 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-05/0.4312, allocations: 151.9 kB / 0.5569 GB, free: 6.094 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.4312, allocations: 84.44 kB / 0.557 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.4313, allocations: 75.28 kB / 0.5571 GB, free: 5.938 MB / 398.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.0001551/0.4314, allocations: 262.9 kB / 0.5573 GB, free: 5.672 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/0.4315, allocations: 115.4 kB / 0.5574 GB, free: 5.555 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.4316, allocations: 112 kB / 0.5575 GB, free: 5.434 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-05/0.4317, allocations: 177.8 kB / 0.5577 GB, free: 5.254 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.201e-05/0.4318, allocations: 181.4 kB / 0.5579 GB, free: 5.07 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.222e-05/0.4318, allocations: 181.7 kB / 0.558 GB, free: 4.887 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.4321, allocations: 377.6 kB / 0.5584 GB, free: 4.469 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-05/0.4322, allocations: 110 kB / 0.5585 GB, free: 4.355 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.4322, allocations: 102.4 kB / 0.5586 GB, free: 4.25 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.4324, allocations: 180.2 kB / 0.5588 GB, free: 4.066 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.4325, allocations: 177.6 kB / 0.5589 GB, free: 3.887 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.033e-05/0.4325, allocations: 185.4 kB / 0.5591 GB, free: 3.699 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.989e-05/0.4326, allocations: 177.4 kB / 0.5593 GB, free: 3.52 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.4328, allocations: 315.3 kB / 0.5596 GB, free: 3.191 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.4329, allocations: 111.1 kB / 0.5597 GB, free: 3.078 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.955e-05/0.433, allocations: 181.3 kB / 0.5599 GB, free: 2.895 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.4331, allocations: 107.1 kB / 0.56 GB, free: 2.785 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.4332, allocations: 181.4 kB / 0.5601 GB, free: 2.602 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.4332, allocations: 106 kB / 0.5602 GB, free: 2.492 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.561e-05/0.4333, allocations: 75.28 kB / 0.5603 GB, free: 2.418 MB / 398.1 MB
Notification: Performance of sort global known variables: time 5e-08/0.4333, allocations: 0 / 0.5603 GB, free: 2.418 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0006453/0.4339, allocations: 134.7 kB / 0.5604 GB, free: 2.383 MB / 398.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.0009993/0.4349, allocations: 417.4 kB / 0.5608 GB, free: 2.125 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 6.087e-05/0.435, allocations: 1.375 kB / 0.5608 GB, free: 2.125 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.435, allocations: 1.25 kB / 0.5608 GB, free: 2.125 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.435, allocations: 0 / 0.5608 GB, free: 2.125 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.4354, allocations: 470.3 kB / 0.5613 GB, free: 1.664 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001875/0.4356, allocations: 149.6 kB / 0.5614 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.4359, allocations: 0.6727 MB / 0.5621 GB, free: 0.7969 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 7.113e-06/0.4359, allocations: 0 / 0.5621 GB, free: 0.7969 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.4359, allocations: 8.844 kB / 0.5621 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.4359, allocations: 3.938 kB / 0.5621 GB, free: 0.7852 MB / 398.1 MB
Notification: Performance of Templates: time 0.008767/0.4447, allocations: 3.086 MB / 0.5651 GB, free: 14.28 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.448707629926503]