Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001404/0.001404, 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.001336/0.001336, allocations: 219.4 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.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.021e-05, allocations: 2.281 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002378/0.002398, allocations: 1.358 MB / 380.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1813/0.1837, allocations: 21.16 MB / 401.4 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.1837, allocations: 0 / 401.4 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1838, allocations: 12.47 kB / 401.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01744/0.2013, allocations: 5.963 MB / 407.4 MB, free: 14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.2023, allocations: 363.5 kB / 407.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.2025, allocations: 77.14 kB / 407.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.2025, allocations: 6.578 kB / 407.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.962e-05/0.2026, allocations: 32.45 kB / 407.9 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2027, allocations: 41.23 kB / 407.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2027, allocations: 4.281 kB / 407.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01644/0.2191, allocations: 8.467 MB / 416.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001526/0.2193, allocations: 115.1 kB / 416.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.769e-05/0.2194, allocations: 79.08 kB / 416.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.2194, allocations: 4 kB / 416.6 MB, free: 7.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.078e-05/0.2194, allocations: 4 kB / 416.6 MB, free: 7.703 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (6) * Number of variables: 6 (6) Notification: Performance of [SIM] Bindings: time 0.0007812/0.2202, allocations: 0.4943 MB / 417.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.936e-05/0.2202, allocations: 40.02 kB / 417.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004418/0.2207, allocations: 258.1 kB / 417.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001159/0.2208, allocations: 88.64 kB / 417.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0001308/0.2209, allocations: 116.5 kB / 417.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000103/0.221, allocations: 84.66 kB / 417.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 5.431e-05/0.2211, allocations: 60.41 kB / 417.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0001227/0.2212, allocations: 96.81 kB / 417.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001425/0.2214, allocations: 43.7 kB / 417.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001299/0.2215, allocations: 80.06 kB / 417.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.000327/0.2218, allocations: 152 kB / 418.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002054/0.222, allocations: 167.8 kB / 418.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0006947/0.2227, allocations: 404 kB / 418.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0005647/0.2233, allocations: 413.6 kB / 419 MB, free: 4.785 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 1.866e-05/0.2233, allocations: 12.12 kB / 419.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 6.32e-05/0.2234, allocations: 47.94 kB / 419.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.000349/0.2237, allocations: 227.7 kB / 419.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 1.44e-05/0.2237, allocations: 15.94 kB / 419.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 5.71e-07/0.2237, allocations: 0 / 419.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.477e-06/0.2237, allocations: 0 / 419.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 5.37e-06/0.2237, allocations: 8.562 kB / 419.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 4.92e-06/0.2237, allocations: 0 / 419.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0001846/0.2239, allocations: 107.9 kB / 419.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 7.364e-06/0.2239, allocations: 0 / 419.5 MB, free: 4.359 MB / 318.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: ......... 1 * 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: ................. 4 (4) {$SEV_1, $SEV_0, $TEV_1, $TEV_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: ........... 10 (scalar:10, 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: ........... 14 (scalar:14, 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.693e-05/0.224, allocations: 31.23 kB / 419.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of SimCode: time 0.01819/0.2422, allocations: 7.929 MB / 427.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Templates: time 0.05118/0.2934, allocations: 34.93 MB / 462.4 MB, free: 9.426 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 8.501583367120475]