Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.001315/0.001315, 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.001514/0.001514, allocations: 210.8 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.579/1.579, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.256/0.256, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.Valves.TestCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.143e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.2677/0.2677, allocations: 26.24 MB / 0.5229 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02144/0.2891, allocations: 15.14 MB / 0.5377 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000677/0.2898, allocations: 18.69 kB / 0.5377 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009273/0.2907, allocations: 235.2 kB / 0.5379 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01857/0.3093, allocations: 4.557 MB / 0.5424 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007209/0.3165, allocations: 1.864 MB / 0.5442 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.3185, allocations: 1.291 MB / 0.5455 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006034/0.3191, allocations: 358.1 kB / 0.5458 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.3204, allocations: 0.6375 MB / 0.5464 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004181/0.3246, allocations: 1.899 MB / 0.5483 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.3247, allocations: 41.38 kB / 0.5483 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/0.339, allocations: 6.949 MB / 0.5551 GB, free: 3.691 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0009645/0.34, allocations: 1.015 MB / 0.5561 GB, free: 2.988 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000323/0.3403, allocations: 0.6217 MB / 0.5567 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.3404, allocations: 46.31 kB / 0.5567 GB, free: 2.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000142/0.3406, allocations: 22.98 kB / 0.5568 GB, free: 2.551 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: 78 (70) * Number of variables: 78 (78) Notification: Performance of [SIM] Bindings: time 0.002272/0.3428, allocations: 2.552 MB / 0.5593 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000254/0.3431, allocations: 282.6 kB / 0.5595 GB, free: 500 kB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.002214/0.3453, allocations: 1.896 MB / 0.5614 GB, free: 15.08 MB / 398.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004606/0.3458, allocations: 309 kB / 0.5617 GB, free: 14.84 MB / 398.1 MB Notification: Performance of [SIM] Alias: time 0.002292/0.348, allocations: 1.443 MB / 0.5631 GB, free: 13.46 MB / 398.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004285/0.3485, allocations: 283.4 kB / 0.5634 GB, free: 13.14 MB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002112/0.3487, allocations: 168.2 kB / 0.5635 GB, free: 12.95 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.0004419/0.3491, allocations: 363.1 kB / 0.5639 GB, free: 12.54 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.0003862/0.3495, allocations: 217.6 kB / 0.5641 GB, free: 12.34 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008406/0.3504, allocations: 0.6276 MB / 0.5647 GB, free: 11.66 MB / 398.1 MB Notification: Performance of [SIM] Causalize: time 0.002258/0.3526, allocations: 1.409 MB / 0.5661 GB, free: 10.19 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001723/0.3543, allocations: 1.409 MB / 0.5674 GB, free: 8.781 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.001286/0.3556, allocations: 0.706 MB / 0.5681 GB, free: 8 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.002626/0.3582, allocations: 2.285 MB / 0.5704 GB, free: 5.711 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 7.811e-05/0.3583, allocations: 36 kB / 0.5704 GB, free: 5.668 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0004258/0.3588, allocations: 439.5 kB / 0.5708 GB, free: 5.234 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.00519/0.3639, allocations: 3.47 MB / 0.5742 GB, free: 1.738 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 8.26e-05/0.364, allocations: 100 kB / 0.5743 GB, free: 1.641 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 7.32e-07/0.364, allocations: 0 / 0.5743 GB, free: 1.641 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.903e-05/0.364, allocations: 4.438 kB / 0.5743 GB, free: 1.637 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 2.568e-05/0.3641, allocations: 36 kB / 0.5743 GB, free: 1.602 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 2.022e-05/0.3641, allocations: 0 / 0.5743 GB, free: 1.602 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.0019/0.366, allocations: 1.141 MB / 0.5754 GB, free: 484 kB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 1.123e-05/0.366, allocations: 0 / 0.5754 GB, free: 484 kB / 398.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: ............... 0 * Number of algebraic event partitions: ......... 4 * 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: ................. 21 (21) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, $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_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: ........... 70 (scalar:70, 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: ........... 91 (scalar:89, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 91 (scalar:89, 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.0001918/0.3662, allocations: 56.91 kB / 0.5755 GB, free: 432 kB / 398.1 MB Notification: Performance of SimCode: time 0.0262/0.3924, allocations: 8.969 MB / 0.5843 GB, free: 7.418 MB / 414.1 MB Notification: Performance of Templates: time 0.05833/0.4507, allocations: 36.45 MB / 0.6199 GB, free: 2.945 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestCheckValve/TestCheckValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,SourceP1.ports[1].m_flow,SourceP1.ports[1].p,SourceP1.ports[1].h_outflow,V1.port_b.m_flow,V1.port_b.p,V1.port_b.h_outflow,V1.minLimiter.y,SinkP1.ports[1].m_flow,SinkP1.ports[1].p,SinkP1.ports[1].h_outflow,downstreamPressure.y,const.y Variables in the result:SinkP1.T,SinkP1.T_in_internal,SinkP1.X[1],SinkP1.X_in_internal[1],SinkP1.flowDirection,SinkP1.medium.MM,SinkP1.medium.R_s,SinkP1.medium.preferredMediumStates,SinkP1.medium.standardOrderComponents,SinkP1.nPorts,SinkP1.p,SinkP1.ports[1].h_outflow,SinkP1.ports[1].m_flow,SinkP1.ports[1].p,SourceP1.T,SourceP1.T_in_internal,SourceP1.X[1],SourceP1.X_in_internal[1],SourceP1.flowDirection,SourceP1.medium.MM,SourceP1.medium.R_s,SourceP1.medium.p,SourceP1.medium.p_bar,SourceP1.medium.preferredMediumStates,SourceP1.medium.standardOrderComponents,SourceP1.nPorts,SourceP1.p,SourceP1.p_in_internal,SourceP1.ports[1].h_outflow,SourceP1.ports[1].m_flow,SourceP1.ports[1].p,V1.Av,V1.Cv,V1.CvData,V1.Kv,V1.allowFlowReversal,V1.checkValve,V1.dp_nominal,V1.dp_small,V1.dp_start,V1.filteredOpening,V1.leakageOpening,V1.m_flow,V1.m_flow_nominal,V1.m_flow_small,V1.m_flow_start,V1.minLimiter.u,V1.minLimiter.uMin,V1.minLimiter.y,V1.opening,V1.opening_actual,V1.opening_nominal,V1.port_a_exposesState,V1.port_b.h_outflow,V1.port_b.m_flow,V1.port_b.p,V1.port_b_exposesState,V1.relativeFlowCoefficient,V1.rho_nominal,V1.riseTime,V1.showDesignFlowDirection,V1.show_T,V1.show_V_flow,V1.use_Re,const.k,const.y,downstreamPressure.duration,downstreamPressure.height,downstreamPressure.offset,downstreamPressure.startTime,downstreamPressure.y,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time [Calling sys.exit(0), Time elapsed: 7.5662981402128935]