Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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.001753/0.001753, 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.001743/0.001743, allocations: 205.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.622/1.622, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2873/0.2873, allocations: 46.96 MB / 361.6 MB, free: 4.055 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.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.348e-05/3.348e-05, allocations: 8.469 kB / 0.4973 GB, free: 7.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.419/0.419, allocations: 38.97 MB / 0.5353 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03872/0.4577, allocations: 13.89 MB / 0.5489 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.4591, allocations: 18.75 kB / 0.5489 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.4612, allocations: 273.7 kB / 0.5492 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02461/0.4859, allocations: 4.658 MB / 0.5537 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009549/0.4954, allocations: 2.121 MB / 0.5558 GB, free: 392 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003527/0.4989, allocations: 1.539 MB / 0.5573 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.5002, allocations: 417.9 kB / 0.5577 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.5029, allocations: 0.7241 MB / 0.5584 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.5045, allocations: 406.6 kB / 0.5588 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.5047, allocations: 42.47 kB / 0.5588 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02272/0.5274, allocations: 6.877 MB / 0.5656 GB, free: 11 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.002142/0.5296, allocations: 1.137 MB / 0.5667 GB, free: 10.2 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.000859/0.5304, allocations: 0.7077 MB / 0.5674 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.5306, allocations: 63.94 kB / 0.5674 GB, free: 9.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0002383/0.5309, allocations: 15.98 kB / 0.5674 GB, free: 9.41 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 (91) * Number of variables: 99 (99) Notification: Performance of [SIM] Bindings: time 0.00421/0.5351, allocations: 2.844 MB / 0.5702 GB, free: 6.422 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004639/0.5355, allocations: 303.5 kB / 0.5705 GB, free: 6.117 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 0.003963/0.5395, allocations: 2.436 MB / 0.5729 GB, free: 3.656 MB / 398.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000775/0.5403, allocations: 386.1 kB / 0.5732 GB, free: 3.234 MB / 398.1 MB Notification: Performance of [SIM] Alias: time 0.004292/0.5446, allocations: 2.018 MB / 0.5752 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000837/0.5454, allocations: 361.4 kB / 0.5756 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005485/0.546, allocations: 194.8 kB / 0.5757 GB, free: 392 kB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.0006939/0.5467, allocations: 439 kB / 0.5762 GB, free: 15.9 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.0006394/0.5473, allocations: 326.4 kB / 0.5765 GB, free: 15.6 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.00114/0.5484, allocations: 0.8349 MB / 0.5773 GB, free: 14.68 MB / 414.1 MB Notification: Performance of [SIM] Causalize: time 0.002745/0.5512, allocations: 1.647 MB / 0.5789 GB, free: 12.94 MB / 414.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002294/0.5535, allocations: 1.83 MB / 0.5807 GB, free: 11.11 MB / 414.1 MB Notification: Performance of [INI] Simplify: time 0.001572/0.555, allocations: 0.8335 MB / 0.5815 GB, free: 10.21 MB / 414.1 MB Notification: Performance of [INI] Inline: time 0.003425/0.5585, allocations: 2.859 MB / 0.5843 GB, free: 7.34 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 9.982e-05/0.5586, allocations: 43.94 kB / 0.5843 GB, free: 7.289 MB / 414.1 MB Notification: Performance of [INI] Cleanup: time 0.0006459/0.5592, allocations: 0.5424 MB / 0.5849 GB, free: 6.742 MB / 414.1 MB Notification: Performance of [INI] Causalize: time 0.006682/0.5659, allocations: 4.016 MB / 0.5888 GB, free: 2.699 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 0.0007042/0.5666, allocations: 466.8 kB / 0.5892 GB, free: 2.262 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 1.743e-06/0.5666, allocations: 0 / 0.5892 GB, free: 2.262 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.675e-05/0.5666, allocations: 4.375 kB / 0.5892 GB, free: 2.258 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 0.0004891/0.5671, allocations: 306.7 kB / 0.5895 GB, free: 1.961 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 3.437e-05/0.5672, allocations: 11.94 kB / 0.5895 GB, free: 1.949 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.00267/0.5698, allocations: 1.471 MB / 0.591 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of [SIM] Jacobian: time 0.001632/0.5715, allocations: 0.9278 MB / 0.5919 GB, free: 15.52 MB / 430.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: ................. 27 (27) {simpleGenericOrifice.state_a.phase, simpleGenericOrifice.state_b.phase, massFlowRate1.medium.state.phase, massFlowRate1.medium.phase, boundary_fixed.medium.state.phase, boundary_fixed.medium.phase, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 69 (scalar:69, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 93 (scalar:91, array:2, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 107 (scalar:105, array:2, 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 0.0001968/0.5717, allocations: 68.67 kB / 0.5919 GB, free: 15.46 MB / 430.1 MB Notification: Performance of SimCode: time 0.02972/0.6014, allocations: 9.855 MB / 0.6016 GB, free: 5.559 MB / 430.1 MB Notification: Performance of Templates: time 0.06665/0.668, allocations: 41.31 MB / 0.6419 GB, free: 12.23 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestFlowRate/TestFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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: 10.736902548000216]