Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.001239/0.001239, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001456/0.001456, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.92 MB / 358.8 MB, free: 6.375 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 71.83 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3828, allocations: 65.48 MB / 0.557 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03633/0.4192, allocations: 30.61 MB / 0.5869 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.4392, allocations: 15.68 MB / 0.6022 GB, free: 9.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.4396, allocations: 11.88 kB / 0.6023 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006851/0.4403, allocations: 218.6 kB / 0.6025 GB, free: 8.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006428/0.4409, allocations: 274.4 kB / 0.6027 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01628/0.4572, allocations: 5.668 MB / 0.6083 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.4584, allocations: 0.8304 MB / 0.6091 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.4588, allocations: 197 kB / 0.6093 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.4704, allocations: 5.516 MB / 0.6146 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.4709, allocations: 247 kB / 0.6149 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.471, allocations: 28 kB / 0.6149 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.483, allocations: 6.107 MB / 0.6209 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.4832, allocations: 95.59 kB / 0.621 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.4835, allocations: 187.1 kB / 0.6211 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008132/0.4916, allocations: 3.683 MB / 0.6247 GB, free: 2.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4916, allocations: 0 / 0.6247 GB, free: 2.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4916, allocations: 0 / 0.6247 GB, free: 2.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.4917, allocations: 0 / 0.6247 GB, free: 2.07 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002464/0.4941, allocations: 0.9586 MB / 0.6257 GB, free: 1.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4942, allocations: 8.031 kB / 0.6257 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.153e-05/0.4942, allocations: 62.72 kB / 0.6257 GB, free: 1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009928/0.4952, allocations: 120.6 kB / 0.6259 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.4958, allocations: 280.9 kB / 0.6261 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.4959, allocations: 24.86 kB / 0.6261 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.4959, allocations: 28.12 kB / 0.6262 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.497, allocations: 450.1 kB / 0.6266 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4971, allocations: 4 kB / 0.6266 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.4971, allocations: 12 kB / 0.6266 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4971, allocations: 8 kB / 0.6266 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.4982, allocations: 373.2 kB / 0.627 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.5015, allocations: 2.191 MB / 0.6291 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.5025, allocations: 266.3 kB / 0.6294 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.5028, allocations: 92.8 kB / 0.6295 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.503, allocations: 103.9 kB / 0.6296 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5031, allocations: 30.56 kB / 0.6296 GB, free: 12.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.964e-06/0.5031, allocations: 4 kB / 0.6296 GB, free: 12.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001758/0.5048, allocations: 453.6 kB / 0.63 GB, free: 12.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.5049, allocations: 110.7 kB / 0.6301 GB, free: 12.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.5054, allocations: 332.4 kB / 0.6304 GB, free: 11.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.5054, allocations: 33.7 kB / 0.6305 GB, free: 11.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.5056, allocations: 203.9 kB / 0.6307 GB, free: 11.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.5056, allocations: 43.69 kB / 0.6307 GB, free: 11.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.5057, allocations: 57.64 kB / 0.6308 GB, free: 11.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.5059, allocations: 338.8 kB / 0.6311 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.5062, allocations: 91.92 kB / 0.6312 GB, free: 11.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.5065, allocations: 199.4 kB / 0.6314 GB, free: 10.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.5071, allocations: 281.4 kB / 0.6316 GB, free: 10.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5071, allocations: 4 kB / 0.6316 GB, free: 10.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007549/0.5079, allocations: 325.4 kB / 0.632 GB, free: 10.19 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5079, allocations: 4 kB / 0.632 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5079, allocations: 8 kB / 0.632 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.508, allocations: 4 kB / 0.632 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.5082, allocations: 71.83 kB / 0.632 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.5082, allocations: 7.938 kB / 0.632 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.5085, allocations: 43.72 kB / 0.6321 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.5085, allocations: 12 kB / 0.6321 GB, free: 10.04 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.5087, allocations: 161.7 kB / 0.6323 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.5087, allocations: 27.81 kB / 0.6323 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.51, allocations: 0.7684 MB / 0.633 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.51, allocations: 3.938 kB / 0.633 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.51, allocations: 3.984 kB / 0.633 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.51, allocations: 0 / 0.633 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.5107, allocations: 0.5057 MB / 0.6335 GB, free: 8.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5107, allocations: 0 / 0.6335 GB, free: 8.516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.5109, allocations: 47.89 kB / 0.6336 GB, free: 8.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.5109, allocations: 7.984 kB / 0.6336 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.5109, allocations: 0 / 0.6336 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5109, allocations: 7.938 kB / 0.6336 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5109, allocations: 3.938 kB / 0.6336 GB, free: 8.449 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.5117, allocations: 469.9 kB / 0.634 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.5117, allocations: 47.64 kB / 0.6341 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.5118, allocations: 27.73 kB / 0.6341 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.512, allocations: 23.91 kB / 0.6341 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.5121, allocations: 11.97 kB / 0.6342 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.5121, allocations: 8 kB / 0.6342 GB, free: 7.855 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003986/0.5125, allocations: 342.9 kB / 0.6345 GB, free: 7.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5125, allocations: 0 / 0.6345 GB, free: 7.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0026/0.5151, allocations: 0.85 MB / 0.6353 GB, free: 6.668 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004676/0.5198, allocations: 1.9 MB / 0.6372 GB, free: 4.738 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008231/0.5206, allocations: 263.7 kB / 0.6374 GB, free: 4.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5206, allocations: 0.9375 kB / 0.6374 GB, free: 4.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.5209, allocations: 143.9 kB / 0.6376 GB, free: 4.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5219, allocations: 186.4 kB / 0.6377 GB, free: 4.164 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006968/0.5289, allocations: 4.025 MB / 0.6417 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.5294, allocations: 0.8499 MB / 0.6425 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.5298, allocations: 145.2 kB / 0.6426 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.5301, allocations: 163.4 kB / 0.6428 GB, free: 14.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5301, allocations: 4 kB / 0.6428 GB, free: 14.78 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08167/0.6118, allocations: 39.47 MB / 0.6813 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.18, allocations: 4 kB / 0.6813 GB, free: 7.473 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable specificEnthalpy.h_out in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.351413470998523]