Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.001908/0.001908, 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.002377/0.002377, allocations: 216.8 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.564/1.564, 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.2649/0.2649, allocations: 46.95 MB / 361.6 MB, free: 4.031 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.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.111e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.4993/0.4994, allocations: 155.7 MB / 0.6493 GB, free: 4.859 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006666/0.506, allocations: 3.444 MB / 0.6527 GB, free: 1.406 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008692/0.5069, allocations: 27.75 kB / 0.6527 GB, free: 1.379 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.5081, allocations: 325.5 kB / 0.653 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004305/0.5124, allocations: 1.374 MB / 0.6544 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.5156, allocations: 1.077 MB / 0.6554 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002664/0.5183, allocations: 1.824 MB / 0.6572 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006992/0.519, allocations: 415.1 kB / 0.6576 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.5201, allocations: 0.732 MB / 0.6583 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007286/0.5209, allocations: 0.5175 MB / 0.6588 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.521, allocations: 52 kB / 0.6589 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.5235, allocations: 1.195 MB / 0.66 GB, free: 9.883 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.00145/0.5249, allocations: 1.513 MB / 0.6615 GB, free: 8.355 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008151/0.5257, allocations: 0.9527 MB / 0.6625 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.5259, allocations: 75.94 kB / 0.6625 GB, free: 7.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001091/0.526, allocations: 19.98 kB / 0.6625 GB, free: 7.305 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 (100) * Number of variables: 110 (107) Notification: Performance of [SIM] Bindings: time 0.003908/0.5299, allocations: 3.634 MB / 0.6661 GB, free: 3.516 MB / 494.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005364/0.5304, allocations: 413.3 kB / 0.6665 GB, free: 3.109 MB / 494.1 MB Notification: Performance of [SIM] Early Inline: time 0.003619/0.534, allocations: 2.818 MB / 0.6692 GB, free: 268 kB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001021/0.5351, allocations: 0.5337 MB / 0.6698 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of [SIM] Alias: time 0.003759/0.5388, allocations: 2.067 MB / 0.6718 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 2: time 0.0008452/0.5397, allocations: 0.6298 MB / 0.6724 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of [SIM] Remove Stream: time 0.0003011/0.54, allocations: 236 kB / 0.6726 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of [SIM] Detect States: time 0.0006793/0.5406, allocations: 0.5002 MB / 0.6731 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of [SIM] Events: time 0.0005105/0.5412, allocations: 323.2 kB / 0.6734 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of [SIM] Partitioning: time 0.00142/0.5426, allocations: 1.106 MB / 0.6745 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of [SIM] Causalize: time 0.002695/0.5453, allocations: 1.887 MB / 0.6763 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001861/0.5471, allocations: 1.83 MB / 0.6781 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.002389/0.5495, allocations: 1.455 MB / 0.6795 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.00389/0.5534, allocations: 3.689 MB / 0.6831 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.0001225/0.5535, allocations: 64.03 kB / 0.6832 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.0008553/0.5544, allocations: 0.6986 MB / 0.6839 GB, free: 488 kB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.008713/0.5631, allocations: 5.835 MB / 0.6896 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002145/0.5633, allocations: 167.9 kB / 0.6898 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 1.703e-06/0.5633, allocations: 384 / 0.6898 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 3.051e-05/0.5633, allocations: 12.59 kB / 0.6898 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 8.017e-05/0.5634, allocations: 75.8 kB / 0.6898 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 3.613e-05/0.5635, allocations: 8 kB / 0.6898 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.003979/0.5674, allocations: 2.301 MB / 0.6921 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of [SIM] Jacobian: time 0.001157/0.5686, allocations: 0.6715 MB / 0.6927 GB, free: 7.281 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 9 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 9 * 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: ................. 26 (26) {p_table.a, p_table.b, p_table.last, p_table.nextEvent, p_table.nextEventScaled, $SEV_20, $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} * 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: ........... 87 (scalar:87, array:0, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 140 (scalar:137, array:3, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 142 (scalar:139, array:3, 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.0001524/0.5688, allocations: 92.19 kB / 0.6928 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of SimCode: time 0.009232/0.578, allocations: 4.711 MB / 0.6974 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.03815/0.6161, allocations: 21.14 MB / 0.7181 GB, free: 13.3 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestSharpEdgedOrifice/TestSharpEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,orifice1.port_b.m_flow,orifice1.port_b.p,orifice1.port_b.h_outflow,orifice2.port_b.m_flow,orifice2.port_b.p,orifice2.port_b.h_outflow Variables in the result:ambient_p.T,ambient_p.T_in_internal,ambient_p.X[1],ambient_p.X_in_internal[1],ambient_p.flowDirection,ambient_p.medium.MM,ambient_p.medium.R_s,ambient_p.medium.T,ambient_p.medium.T_degC,ambient_p.medium.preferredMediumStates,ambient_p.medium.standardOrderComponents,ambient_p.nPorts,ambient_p.p,ambient_p1.T,ambient_p1.T_in_internal,ambient_p1.X[1],ambient_p1.X_in_internal[1],ambient_p1.flowDirection,ambient_p1.medium.MM,ambient_p1.medium.R_s,ambient_p1.medium.T,ambient_p1.medium.T_degC,ambient_p1.medium.p,ambient_p1.medium.p_bar,ambient_p1.medium.preferredMediumStates,ambient_p1.medium.standardOrderComponents,ambient_p1.nPorts,ambient_p1.p,ambient_p1.p_in_internal,ambient_p2.T,ambient_p2.T_in_internal,ambient_p2.X[1],ambient_p2.X_in_internal[1],ambient_p2.flowDirection,ambient_p2.medium.MM,ambient_p2.medium.R_s,ambient_p2.medium.T,ambient_p2.medium.T_degC,ambient_p2.medium.p,ambient_p2.medium.p_bar,ambient_p2.medium.preferredMediumStates,ambient_p2.medium.standardOrderComponents,ambient_p2.nPorts,ambient_p2.p,ambient_p2.p_in_internal,orifice1.Ib_flow,orifice1.allowFlowReversal,orifice1.alpha,orifice1.data.D_Re,orifice1.data.Re_turbulent,orifice1.data.c0,orifice1.data.diameter_a,orifice1.data.diameter_b,orifice1.data.zeta1,orifice1.data.zeta1_at_a,orifice1.data.zeta2,orifice1.data.zeta2_at_a,orifice1.data.zetaLaminarKnown,orifice1.diameter,orifice1.dp_nominal,orifice1.dp_small,orifice1.dp_start,orifice1.from_dp,orifice1.leastDiameter,orifice1.length,orifice1.m_flow,orifice1.m_flow_nominal,orifice1.m_flow_small,orifice1.m_flow_start,orifice1.momentumDynamics,orifice1.pathLength,orifice1.port_a_exposesState,orifice1.port_b.h_outflow,orifice1.port_b.m_flow,orifice1.port_b.p,orifice1.port_b_exposesState,orifice1.showDesignFlowDirection,orifice1.show_Re,orifice1.show_T,orifice1.show_V_flow,orifice1.state_nominal.T,orifice1.state_nominal.p,orifice1.use_Re,orifice2.Ib_flow,orifice2.allowFlowReversal,orifice2.alpha,orifice2.data.D_Re,orifice2.data.Re_turbulent,orifice2.data.c0,orifice2.data.diameter_a,orifice2.data.diameter_b,orifice2.data.zeta1,orifice2.data.zeta1_at_a,orifice2.data.zeta2,orifice2.data.zeta2_at_a,orifice2.data.zetaLaminarKnown,orifice2.diameter,orifice2.dp_nominal,orifice2.dp_small,orifice2.dp_start,orifice2.from_dp,orifice2.leastDiameter,orifice2.length,orifice2.m_flow,orifice2.m_flow_nominal,orifice2.m_flow_small,orifice2.m_flow_start,orifice2.momentumDynamics,orifice2.pathLength,orifice2.port_a_exposesState,orifice2.port_b.h_outflow,orifice2.port_b.m_flow,orifice2.port_b.p,orifice2.port_b_exposesState,orifice2.showDesignFlowDirection,orifice2.show_Re,orifice2.show_T,orifice2.show_V_flow,orifice2.state_nominal.T,orifice2.state_nominal.p,orifice2.use_Re,p_table.offset,p_table.shiftTime,p_table.startTime,p_table.table[1,1],p_table.table[1,2],p_table.table[2,1],p_table.table[2,2],p_table.timeScale,p_table.timeScaled,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.178827995434403]