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.001378/0.001378, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001589/0.001589, allocations: 217.1 kB / 24.5 MB, free: 3.926 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.543/1.543, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.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.2425/0.2425, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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 - Absyn->SCode: time 3.759e-05/3.759e-05, allocations: 8.891 kB / 0.4973 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00258/0.002617, allocations: 493.1 kB / 0.4977 GB, free: 6.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006727/0.009345, allocations: 2.168 MB / 0.4999 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-06/0.009351, allocations: 0 / 0.4999 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.708e-06/0.009356, allocations: 0 / 0.4999 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.773e-06/0.009358, allocations: 0 / 0.4999 GB, free: 4.633 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.004618/0.01398, allocations: 0.6481 MB / 0.5005 GB, free: 3.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.997e-05/0.01405, allocations: 11.98 kB / 0.5005 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.01409, allocations: 3.938 kB / 0.5005 GB, free: 3.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.01431, allocations: 11.98 kB / 0.5005 GB, free: 3.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.01436, allocations: 7.984 kB / 0.5005 GB, free: 3.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.01437, allocations: 3.938 kB / 0.5005 GB, free: 3.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.01626, allocations: 0.6477 MB / 0.5012 GB, free: 3.301 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.622e-05/0.0163, allocations: 11.98 kB / 0.5012 GB, free: 3.289 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 6.12e-07/0.0163, allocations: 3.938 kB / 0.5012 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.01632, allocations: 0 / 0.5012 GB, free: 3.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.967e-06/0.01633, allocations: 4 kB / 0.5012 GB, free: 3.281 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.0006809/0.01701, allocations: 193.7 kB / 0.5014 GB, free: 2.973 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.198e-05/0.01708, allocations: 27.98 kB / 0.5014 GB, free: 2.934 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001463/0.01723, allocations: 44.36 kB / 0.5014 GB, free: 2.863 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001283/0.01736, allocations: 64.75 kB / 0.5015 GB, free: 2.754 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001662/0.01752, allocations: 80.58 kB / 0.5016 GB, free: 2.625 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00013/0.01765, allocations: 72.73 kB / 0.5016 GB, free: 2.508 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 8.967e-05/0.01774, allocations: 36.44 kB / 0.5017 GB, free: 2.445 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001612/0.0179, allocations: 76.72 kB / 0.5017 GB, free: 2.316 MB / 366.1 MB Notification: Performance of [SIM] Events: time 4.113e-05/0.01794, allocations: 11.97 kB / 0.5018 GB, free: 2.305 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 2.902e-05/0.01797, allocations: 4 kB / 0.5018 GB, free: 2.301 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 9.107e-06/0.01798, allocations: 3.938 kB / 0.5018 GB, free: 2.297 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.385e-05/0.01801, allocations: 8 kB / 0.5018 GB, free: 2.289 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.000238/0.01824, allocations: 101 kB / 0.5019 GB, free: 2.121 MB / 366.1 MB Notification: Performance of [INI] Inline: time 7.456e-05/0.01832, allocations: 31.98 kB / 0.5019 GB, free: 2.086 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.858e-05/0.01835, allocations: 8.125 kB / 0.5019 GB, free: 2.07 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 2.058e-05/0.01837, allocations: 8 kB / 0.5019 GB, free: 2.062 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0001238/0.01849, allocations: 20.11 kB / 0.5019 GB, free: 2.035 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.927e-06/0.0185, allocations: 0 / 0.5019 GB, free: 2.035 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 8.11e-07/0.0185, allocations: 0 / 0.5019 GB, free: 2.035 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.432e-06/0.0185, allocations: 0 / 0.5019 GB, free: 2.035 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 1.312e-06/0.0185, allocations: 0 / 0.5019 GB, free: 2.035 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.124e-05/0.01851, allocations: 8 kB / 0.5019 GB, free: 2.027 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.827e-05/0.01853, allocations: 8 kB / 0.5019 GB, free: 2.02 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 8.356e-06/0.01854, allocations: 0 / 0.5019 GB, free: 2.02 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 6.656e-05/0.01861, allocations: 15.8 kB / 0.502 GB, free: 2.004 MB / 366.1 MB Notification: Performance of SimCode: time 0.003099/0.02171, allocations: 0.9222 MB / 0.5029 GB, free: 1.07 MB / 366.1 MB Notification: Performance of Templates: time 0.0144/0.0361, allocations: 3.107 MB / 0.5059 GB, free: 13.96 MB / 382.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.302851243875921]