Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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.001518/0.001518, allocations: 107.6 kB / 21.2 MB, free: 0.668 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.001585/0.001585, allocations: 211.5 kB / 24.49 MB, free: 3.973 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.435/1.435, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.28e-05, allocations: 2.281 kB / 378.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1819/0.1819, allocations: 34.81 MB / 413.7 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03349/0.2154, allocations: 27.17 MB / 440.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006083/0.216, allocations: 11.94 kB / 440.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.2172, allocations: 373.8 kB / 441.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.219, allocations: 0.5322 MB / 441.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01476/0.2338, allocations: 5.267 MB / 447.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.2359, allocations: 1.527 MB / 448.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.2363, allocations: 125 kB / 448.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.2373, allocations: 0.5995 MB / 449.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.2378, allocations: 434.2 kB / 449.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.942e-05/0.2379, allocations: 60 kB / 449.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02618/0.2641, allocations: 12.72 MB / 462.5 MB, free: 9.711 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001414/0.2655, allocations: 1.104 MB / 463.6 MB, free: 8.598 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005255/0.266, allocations: 0.6647 MB / 464.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.2662, allocations: 76 kB / 464.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.937e-05/0.2663, allocations: 8 kB / 464.4 MB, free: 7.844 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: 116 (116) * Number of variables: 116 (116) Notification: Performance of [SIM] Bindings: time 0.003354/0.2696, allocations: 2.984 MB / 467.4 MB, free: 4.711 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004067/0.27, allocations: 335.4 kB / 467.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.002636/0.2727, allocations: 2.254 MB / 470 MB, free: 2.117 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000587/0.2732, allocations: 411.6 kB / 470.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.003824/0.2771, allocations: 2.606 MB / 473 MB, free: 14.8 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005446/0.2776, allocations: 406.7 kB / 473.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00023/0.2778, allocations: 196.1 kB / 473.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0005511/0.2784, allocations: 445.2 kB / 474 MB, free: 13.68 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0004809/0.2789, allocations: 324 kB / 474.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009294/0.2798, allocations: 0.7818 MB / 475.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.002198/0.282, allocations: 1.536 MB / 476.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001666/0.2837, allocations: 1.541 MB / 478.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.001303/0.285, allocations: 0.7996 MB / 479 MB, free: 8.449 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.002229/0.2872, allocations: 2.05 MB / 481 MB, free: 6.398 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 8.399e-05/0.2873, allocations: 43.94 kB / 481.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0002922/0.2876, allocations: 303.6 kB / 481.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.002764/0.2903, allocations: 1.924 MB / 483.3 MB, free: 4.113 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.000325/0.2907, allocations: 226.7 kB / 483.5 MB, free: 3.898 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 9.92e-07/0.2907, allocations: 0 / 483.5 MB, free: 3.898 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.035e-05/0.2907, allocations: 4.375 kB / 483.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.0003927/0.2911, allocations: 269.2 kB / 483.8 MB, free: 3.637 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.77e-05/0.2911, allocations: 7.938 kB / 483.8 MB, free: 3.629 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001685/0.2928, allocations: 1.12 MB / 484.9 MB, free: 2.527 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.002015/0.2948, allocations: 1.594 MB / 486.5 MB, free: 0.7539 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 10 * 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: ............................. 4 (4) {volume.m, volume.U, volume1.m, volume1.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {volume.medium.state.phase, fixedMassFlowRate.medium.state.phase, ambient.medium.state.phase, volume1.medium.state.phase, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_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: ........... 75 (scalar:75, 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: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 105 (scalar:101, array:4, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0001332/0.2949, allocations: 63.88 kB / 486.5 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of SimCode: time 0.1166/0.4116, allocations: 58.93 MB / 0.5327 GB, free: 4.816 MB / 446.1 MB Notification: Performance of Templates: time 0.2275/0.6391, allocations: 42.97 MB / 0.5747 GB, free: 62.06 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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: 32.55488706519827]