Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.001322/0.001322, 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.001423/0.001423, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.559/1.559, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.265/0.265, allocations: 46.96 MB / 361.6 MB, free: 4.121 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.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.096e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01928/0.01932, allocations: 11.75 MB / 0.5088 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.03039, allocations: 4.958 MB / 0.5136 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007384/0.03112, allocations: 23.75 kB / 0.5136 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.03238, allocations: 206.7 kB / 0.5138 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.03521, allocations: 0.7232 MB / 0.5145 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0054/0.04061, allocations: 1.592 MB / 0.5161 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.04371, allocations: 1.851 MB / 0.5179 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009119/0.04462, allocations: 409.5 kB / 0.5183 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.04611, allocations: 0.7674 MB / 0.519 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.04686, allocations: 498.3 kB / 0.5195 GB, free: 472 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.19e-05/0.04695, allocations: 44 kB / 0.5195 GB, free: 428 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3164/0.3633, allocations: 0.9218 MB / 0.5204 GB, free: 17.29 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001737/0.3651, allocations: 1.201 MB / 0.5216 GB, free: 16.99 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000624/0.3657, allocations: 0.7076 MB / 0.5223 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.3659, allocations: 46.59 kB / 0.5224 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001864/0.3661, allocations: 19.5 kB / 0.5224 GB, free: 16.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 (67) * Number of variables: 80 (72) Notification: Performance of [SIM] Bindings: time 0.003505/0.3696, allocations: 2.798 MB / 0.5251 GB, free: 15.61 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004666/0.37, allocations: 342.4 kB / 0.5254 GB, free: 15.55 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.00178/0.3718, allocations: 1.401 MB / 0.5268 GB, free: 15.47 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000547/0.3724, allocations: 298.4 kB / 0.5271 GB, free: 15.34 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.002384/0.3747, allocations: 1.417 MB / 0.5285 GB, free: 14.91 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003606/0.3751, allocations: 259.5 kB / 0.5287 GB, free: 14.79 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001768/0.3753, allocations: 144.1 kB / 0.5288 GB, free: 14.73 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0004228/0.3757, allocations: 322.6 kB / 0.5292 GB, free: 14.61 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002109/0.3759, allocations: 122 kB / 0.5293 GB, free: 14.58 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006729/0.3766, allocations: 0.5405 MB / 0.5298 GB, free: 14.41 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.00179/0.3784, allocations: 1.183 MB / 0.531 GB, free: 14.18 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001092/0.3795, allocations: 0.9507 MB / 0.5319 GB, free: 14.18 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.001339/0.3808, allocations: 0.7665 MB / 0.5326 GB, free: 13.91 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001999/0.3828, allocations: 1.723 MB / 0.5343 GB, free: 13.21 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 8.118e-05/0.3829, allocations: 38.45 kB / 0.5344 GB, free: 13.18 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0004321/0.3833, allocations: 369.3 kB / 0.5347 GB, free: 12.97 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.005526/0.3888, allocations: 3.319 MB / 0.5379 GB, free: 12.25 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 6.983e-05/0.3889, allocations: 87.25 kB / 0.538 GB, free: 12.18 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 1.884e-06/0.3889, allocations: 0 / 0.538 GB, free: 12.18 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 2e-05/0.3889, allocations: 10.69 kB / 0.538 GB, free: 12.18 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 1.799e-05/0.389, allocations: 31 kB / 0.5381 GB, free: 12.16 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 3.29e-05/0.389, allocations: 6.844 kB / 0.5381 GB, free: 12.16 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001512/0.3905, allocations: 0.8253 MB / 0.5389 GB, free: 11.88 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 1.251e-05/0.3905, allocations: 5.219 kB / 0.5389 GB, free: 11.88 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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: ................. 14 (14) {p_table.a, p_table.b, p_table.last, p_table.nextEvent, p_table.nextEventScaled, $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: ........... 51 (scalar:47, array:4, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, 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: ........... 83 (scalar:77, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 83 (scalar:77, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001469/0.3907, allocations: 56.28 kB / 0.5389 GB, free: 11.83 MB / 382.1 MB Notification: Performance of SimCode: time 0.00626/0.3969, allocations: 3.184 MB / 0.542 GB, free: 10.71 MB / 382.1 MB Notification: Performance of Templates: time 0.01651/0.4134, allocations: 10.36 MB / 0.5522 GB, free: 6.582 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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: 6.308592711109668]