Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001305/0.001305, allocations: 95.66 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.001498/0.001498, allocations: 207.2 kB / 24.54 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.442/1.442, allocations: 230.7 MB / 258.3 MB, free: 7.734 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.2463/0.2463, allocations: 46.98 MB / 361.7 MB, free: 3.969 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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.356e-05, allocations: 4.953 kB / 0.4974 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001687/0.001711, allocations: 485.1 kB / 0.4978 GB, free: 6.738 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003579/0.00529, allocations: 2.055 MB / 0.4999 GB, free: 4.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.005307, allocations: 0 / 0.4999 GB, free: 4.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.005321, allocations: 0 / 0.4999 GB, free: 4.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.72e-05/0.005348, allocations: 0 / 0.4999 GB, free: 4.664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.006724, allocations: 414 kB / 0.5002 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.006774, allocations: 7.984 kB / 0.5003 GB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.006815, allocations: 7.984 kB / 0.5003 GB, free: 4.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.006837, allocations: 4 kB / 0.5003 GB, free: 4.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02037/0.02721, allocations: 3.38 MB / 0.5036 GB, free: 1.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.02722, allocations: 0 / 0.5036 GB, free: 1.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.02731, allocations: 11.97 kB / 0.5036 GB, free: 1.473 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.57e-05/0.02735, allocations: 8 kB / 0.5036 GB, free: 1.465 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.003e-05/0.02736, allocations: 3.906 kB / 0.5036 GB, free: 1.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.02737, allocations: 0 / 0.5036 GB, free: 1.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.016e-05/0.02742, allocations: 3.938 kB / 0.5036 GB, free: 1.457 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.0004133/0.02783, allocations: 193.5 kB / 0.5038 GB, free: 1.148 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.554e-05/0.02787, allocations: 20.05 kB / 0.5038 GB, free: 1.117 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001454/0.02802, allocations: 68.33 kB / 0.5039 GB, free: 1.023 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 6.836e-05/0.02808, allocations: 56.73 kB / 0.5039 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 8.721e-05/0.02817, allocations: 80.59 kB / 0.504 GB, free: 0.793 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.28e-05/0.02823, allocations: 56.73 kB / 0.504 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.693e-05/0.02828, allocations: 44.31 kB / 0.5041 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001028/0.02838, allocations: 76.86 kB / 0.5042 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of [SIM] Events: time 8.55e-05/0.02847, allocations: 7.984 kB / 0.5042 GB, free: 496 kB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 9.823e-05/0.02857, allocations: 32.25 kB / 0.5042 GB, free: 448 kB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0002725/0.02884, allocations: 56.16 kB / 0.5043 GB, free: 376 kB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.503e-05/0.02888, allocations: 27.84 kB / 0.5043 GB, free: 348 kB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.000171/0.02905, allocations: 97.11 kB / 0.5044 GB, free: 180 kB / 366.1 MB Notification: Performance of [INI] Inline: time 4.573e-05/0.02909, allocations: 35.97 kB / 0.5044 GB, free: 140 kB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.671e-05/0.02911, allocations: 8.125 kB / 0.5044 GB, free: 124 kB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.536e-05/0.02912, allocations: 4 kB / 0.5044 GB, free: 120 kB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0001194/0.02924, allocations: 48.45 kB / 0.5045 GB, free: 64 kB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.702e-05/0.02926, allocations: 0 / 0.5045 GB, free: 64 kB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.31e-07/0.02926, allocations: 0 / 0.5045 GB, free: 64 kB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.481e-05/0.0293, allocations: 28.19 kB / 0.5045 GB, free: 20 kB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.709e-06/0.02931, allocations: 3.938 kB / 0.5045 GB, free: 16 kB / 366.1 MB Notification: Performance of [SIM] Tearing: time 5.069e-06/0.02931, allocations: 4 kB / 0.5045 GB, free: 12 kB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.362e-05/0.02932, allocations: 4 kB / 0.5045 GB, free: 8 kB / 366.1 MB Notification: Performance of [SIM] Solve: time 5.298e-05/0.02938, allocations: 4 kB / 0.5045 GB, free: 4 kB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 1.141e-05/0.02939, allocations: 4.188 kB / 0.5045 GB, free: 0 / 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: ......... 2 * 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: ................. 2 (2) {$SEV_1, $SEV_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: ........... 2 (scalar:2, 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: ........... 2 (scalar:2, 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 7.042e-05/0.02946, allocations: 14.59 kB / 0.5045 GB, free: 15.99 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005319/0.02999, allocations: 155 kB / 0.5047 GB, free: 15.82 MB / 382.1 MB Notification: Performance of Templates: time 0.003391/0.03338, allocations: 457.7 kB / 0.5051 GB, free: 15.38 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.697896828001831]