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.001411/0.001411, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001443/0.001443, allocations: 206.2 kB / 24.49 MB, free: 3.961 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.67/1.67, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.3015/0.3015, allocations: 46.97 MB / 361.6 MB, free: 4.062 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.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.751e-05/2.751e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001657/0.001684, allocations: 479.5 kB / 0.4977 GB, free: 6.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.005697, allocations: 2.067 MB / 0.4997 GB, free: 4.777 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.00572, allocations: 0 / 0.4997 GB, free: 4.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.00574, allocations: 0 / 0.4997 GB, free: 4.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.835e-05/0.005759, allocations: 3.938 kB / 0.4997 GB, free: 4.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.0072, allocations: 409.9 kB / 0.5001 GB, free: 4.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.985e-05/0.00725, allocations: 7.938 kB / 0.5001 GB, free: 4.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.007304, allocations: 0 / 0.5001 GB, free: 4.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.007323, allocations: 4 kB / 0.5001 GB, free: 4.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02115/0.02847, allocations: 3.389 MB / 0.5035 GB, free: 1.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.0285, allocations: 8 kB / 0.5035 GB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.02865, allocations: 4 kB / 0.5035 GB, free: 1.586 MB / 366.1 MB Notification: Performance of combineBinaries: time 5.676e-05/0.02871, allocations: 7.984 kB / 0.5035 GB, free: 1.578 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.216e-05/0.02872, allocations: 3.906 kB / 0.5035 GB, free: 1.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.02874, allocations: 4 kB / 0.5035 GB, free: 1.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.437e-05/0.0288, allocations: 0 / 0.5035 GB, free: 1.57 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.0004869/0.02929, allocations: 189.6 kB / 0.5037 GB, free: 1.266 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.989e-05/0.02933, allocations: 23.84 kB / 0.5037 GB, free: 1.23 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001528/0.02948, allocations: 72.33 kB / 0.5037 GB, free: 1.133 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.243e-05/0.02956, allocations: 52.75 kB / 0.5038 GB, free: 1.035 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001192/0.02968, allocations: 80.58 kB / 0.5039 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.274e-05/0.02974, allocations: 60.75 kB / 0.5039 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 9.328e-05/0.02983, allocations: 36.42 kB / 0.504 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.465e-05/0.02993, allocations: 72.86 kB / 0.504 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of [SIM] Events: time 8.132e-05/0.03001, allocations: 19.92 kB / 0.5041 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.593e-05/0.03009, allocations: 28.25 kB / 0.5041 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.00023/0.03032, allocations: 52.17 kB / 0.5041 GB, free: 496 kB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.697e-05/0.03035, allocations: 27.83 kB / 0.5042 GB, free: 468 kB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.000152/0.0305, allocations: 97.11 kB / 0.5043 GB, free: 300 kB / 366.1 MB Notification: Performance of [INI] Inline: time 4.335e-05/0.03055, allocations: 39.97 kB / 0.5043 GB, free: 256 kB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.402e-05/0.03056, allocations: 12.5 kB / 0.5043 GB, free: 236 kB / 366.1 MB Notification: Performance of [INI] Cleanup: time 9.849e-06/0.03057, allocations: 4 kB / 0.5043 GB, free: 232 kB / 366.1 MB Notification: Performance of [INI] Causalize: time 9.119e-05/0.03066, allocations: 40.09 kB / 0.5043 GB, free: 184 kB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.792e-05/0.03068, allocations: 4 kB / 0.5043 GB, free: 180 kB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.03068, allocations: 0 / 0.5043 GB, free: 180 kB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.909e-06/0.03068, allocations: 0 / 0.5043 GB, free: 180 kB / 366.1 MB Notification: Performance of [SIM] Tearing: time 3.336e-06/0.03069, allocations: 3.938 kB / 0.5044 GB, free: 176 kB / 366.1 MB Notification: Performance of [SIM] Categorize: time 9.307e-06/0.0307, allocations: 0 / 0.5044 GB, free: 176 kB / 366.1 MB Notification: Performance of [SIM] Solve: time 5.095e-05/0.03075, allocations: 12 kB / 0.5044 GB, free: 164 kB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 1.149e-05/0.03076, allocations: 8.188 kB / 0.5044 GB, free: 156 kB / 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 4.5e-05/0.0308, allocations: 14.22 kB / 0.5044 GB, free: 144 kB / 366.1 MB Notification: Performance of SimCode: time 0.0005049/0.03131, allocations: 152.1 kB / 0.5045 GB, free: 15.97 MB / 382.1 MB Notification: Performance of Templates: time 0.003127/0.03444, allocations: 461 kB / 0.505 GB, free: 15.53 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/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: 5.219330489169806]