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.001354/0.001354, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.001475/0.001475, allocations: 204.7 kB / 24.55 MB, free: 3.73 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2339/0.2339, allocations: 44.92 MB / 359.7 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 179] 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 - Absyn->SCode: time 2.319e-05/2.319e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001501/0.001524, allocations: 0.4957 MB / 0.4948 GB, free: 9.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.005205, allocations: 2.168 MB / 0.4969 GB, free: 7.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-06/0.00521, allocations: 0 / 0.4969 GB, free: 7.426 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.457e-06/0.005213, allocations: 0 / 0.4969 GB, free: 7.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.403e-06/0.005215, allocations: 0 / 0.4969 GB, free: 7.426 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.002289/0.007504, allocations: 0.6411 MB / 0.4975 GB, free: 6.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.289e-05/0.007547, allocations: 8 kB / 0.4975 GB, free: 6.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.007584, allocations: 11.98 kB / 0.4975 GB, free: 6.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.00772, allocations: 15.92 kB / 0.4976 GB, free: 6.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.007757, allocations: 4 kB / 0.4976 GB, free: 6.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-06/0.007762, allocations: 0 / 0.4976 GB, free: 6.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009526/0.008714, allocations: 0.6281 MB / 0.4982 GB, free: 6.121 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.112e-05/0.008735, allocations: 7.984 kB / 0.4982 GB, free: 6.113 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.7e-07/0.008736, allocations: 0 / 0.4982 GB, free: 6.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.008751, allocations: 4 kB / 0.4982 GB, free: 6.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.008755, allocations: 0 / 0.4982 GB, free: 6.109 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 (0) * Number of variables: 0 (0) Notification: Performance of [SIM] Bindings: time 0.0003839/0.009139, allocations: 209.6 kB / 0.4984 GB, free: 5.785 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.081e-05/0.00917, allocations: 16.05 kB / 0.4984 GB, free: 5.758 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.824e-05/0.009248, allocations: 52.38 kB / 0.4985 GB, free: 5.68 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.499e-05/0.009323, allocations: 64.72 kB / 0.4985 GB, free: 5.57 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 8.53e-05/0.009409, allocations: 76.59 kB / 0.4986 GB, free: 5.445 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.902e-05/0.009478, allocations: 64.73 kB / 0.4987 GB, free: 5.336 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.305e-05/0.009521, allocations: 40.44 kB / 0.4987 GB, free: 5.27 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.615e-05/0.009617, allocations: 80.66 kB / 0.4988 GB, free: 5.137 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.308e-05/0.00964, allocations: 8 kB / 0.4988 GB, free: 5.129 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 1.387e-05/0.009654, allocations: 0 / 0.4988 GB, free: 5.129 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 5.601e-06/0.009659, allocations: 0 / 0.4988 GB, free: 5.129 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.198e-05/0.009671, allocations: 15.97 kB / 0.4988 GB, free: 5.113 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001303/0.009802, allocations: 101.1 kB / 0.4989 GB, free: 4.945 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.46e-05/0.009846, allocations: 39.92 kB / 0.4989 GB, free: 4.902 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.551e-05/0.009862, allocations: 12.12 kB / 0.4989 GB, free: 4.883 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 8.686e-06/0.00987, allocations: 8 kB / 0.4989 GB, free: 4.875 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.356e-05/0.009934, allocations: 16.11 kB / 0.499 GB, free: 4.852 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 9.107e-06/0.009943, allocations: 4 kB / 0.499 GB, free: 4.848 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.3e-07/0.009943, allocations: 0 / 0.499 GB, free: 4.848 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.054e-06/0.009946, allocations: 0 / 0.499 GB, free: 4.848 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.61e-07/0.009946, allocations: 0 / 0.499 GB, free: 4.848 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 5.21e-07/0.009947, allocations: 0 / 0.499 GB, free: 4.848 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.984e-06/0.009949, allocations: 0 / 0.499 GB, free: 4.848 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 9.918e-06/0.009959, allocations: 12 kB / 0.499 GB, free: 4.836 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 8.426e-06/0.009967, allocations: 3.938 kB / 0.499 GB, free: 4.832 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.042e-05/0.01001, allocations: 22.67 kB / 0.499 GB, free: 4.812 MB / 366.1 MB Notification: Performance of SimCode: time 0.001728/0.01174, allocations: 0.9241 MB / 0.4999 GB, free: 3.879 MB / 366.1 MB Notification: Performance of Templates: time 0.007602/0.01934, allocations: 3.132 MB / 0.503 GB, free: 0.7461 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/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: 4.886876447999384]