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.001488/0.001488, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001476/0.001476, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2866/0.2866, allocations: 44.93 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 179] 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.002194/0.002194, allocations: 59.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4244, allocations: 65.48 MB / 0.557 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03477/0.4592, allocations: 27.69 MB / 0.584 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01941/0.4786, allocations: 13.83 MB / 0.5975 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.479, allocations: 15.88 kB / 0.5975 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006822/0.4797, allocations: 202.6 kB / 0.5977 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.4804, allocations: 278.4 kB / 0.598 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01682/0.4972, allocations: 5.587 MB / 0.6034 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.4984, allocations: 0.8303 MB / 0.6043 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.4988, allocations: 193 kB / 0.6044 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/0.5107, allocations: 5.493 MB / 0.6098 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.5112, allocations: 235 kB / 0.61 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.5113, allocations: 28 kB / 0.6101 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01224/0.5235, allocations: 5.842 MB / 0.6158 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.5237, allocations: 99.59 kB / 0.6159 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.5241, allocations: 151.4 kB / 0.616 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.5344, allocations: 3.683 MB / 0.6196 GB, free: 7.117 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5345, allocations: 0 / 0.6196 GB, free: 7.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.889e-06/0.5345, allocations: 7.922 kB / 0.6196 GB, free: 7.109 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.5345, allocations: 0 / 0.6196 GB, free: 7.109 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.002664/0.5371, allocations: 0.9431 MB / 0.6205 GB, free: 6.133 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5372, allocations: 12.03 kB / 0.6205 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.5372, allocations: 58.73 kB / 0.6206 GB, free: 6.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000982/0.5382, allocations: 120.6 kB / 0.6207 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.5388, allocations: 288.9 kB / 0.621 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.5388, allocations: 24.81 kB / 0.621 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.5388, allocations: 28.12 kB / 0.621 GB, free: 5.574 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.5401, allocations: 0.5941 MB / 0.6216 GB, free: 4.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5401, allocations: 0 / 0.6216 GB, free: 4.902 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.5401, allocations: 12 kB / 0.6216 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.5401, allocations: 8 kB / 0.6216 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.5412, allocations: 365.2 kB / 0.622 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.5444, allocations: 1.781 MB / 0.6237 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.5455, allocations: 262.3 kB / 0.624 GB, free: 2.395 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.5458, allocations: 96.95 kB / 0.6241 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.546, allocations: 103.8 kB / 0.6242 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.5461, allocations: 38.56 kB / 0.6242 GB, free: 2.148 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.5461, allocations: 0 / 0.6242 GB, free: 2.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001747/0.5478, allocations: 449.1 kB / 0.6246 GB, free: 1.703 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.5479, allocations: 110.8 kB / 0.6247 GB, free: 1.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.5483, allocations: 328.4 kB / 0.625 GB, free: 1.238 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5483, allocations: 29.7 kB / 0.6251 GB, free: 1.203 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.5485, allocations: 215.8 kB / 0.6253 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.5486, allocations: 51.67 kB / 0.6253 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/0.5487, allocations: 57.64 kB / 0.6254 GB, free: 0.875 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5488, allocations: 338.8 kB / 0.6257 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.5491, allocations: 91.86 kB / 0.6258 GB, free: 456 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.5495, allocations: 246.8 kB / 0.626 GB, free: 140 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.5501, allocations: 281.4 kB / 0.6263 GB, free: 15.81 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5501, allocations: 0 / 0.6263 GB, free: 15.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007882/0.5509, allocations: 325 kB / 0.6266 GB, free: 15.49 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5509, allocations: 8 kB / 0.6266 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5509, allocations: 4.469 kB / 0.6266 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.551, allocations: 8 kB / 0.6266 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.5512, allocations: 67.83 kB / 0.6267 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5512, allocations: 8 kB / 0.6267 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.5515, allocations: 35.77 kB / 0.6267 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.5515, allocations: 16 kB / 0.6268 GB, free: 15.34 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.0002539/0.5518, allocations: 157.6 kB / 0.6269 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.104e-05/0.5519, allocations: 31.81 kB / 0.6269 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.5532, allocations: 0.7877 MB / 0.6277 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.5532, allocations: 7.938 kB / 0.6277 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5532, allocations: 3.984 kB / 0.6277 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5532, allocations: 4 kB / 0.6277 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.5538, allocations: 485.8 kB / 0.6282 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.5538, allocations: 0 / 0.6282 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.554, allocations: 39.95 kB / 0.6282 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.554, allocations: 3.938 kB / 0.6282 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.554, allocations: 8 kB / 0.6282 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.554, allocations: 3.938 kB / 0.6282 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.554, allocations: 0 / 0.6282 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.5548, allocations: 473.9 kB / 0.6287 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.5549, allocations: 39.69 kB / 0.6287 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.555, allocations: 27.73 kB / 0.6287 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.5552, allocations: 19.92 kB / 0.6288 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.5553, allocations: 15.97 kB / 0.6288 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.5553, allocations: 11.92 kB / 0.6288 GB, free: 13.17 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004468/0.5557, allocations: 350.9 kB / 0.6291 GB, free: 12.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5557, allocations: 0 / 0.6291 GB, free: 12.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002316/0.558, allocations: 0.8461 MB / 0.63 GB, free: 11.98 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.005073/0.5631, allocations: 1.895 MB / 0.6318 GB, free: 10.06 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007783/0.5639, allocations: 268.2 kB / 0.6321 GB, free: 9.797 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5639, allocations: 0.9375 kB / 0.6321 GB, free: 9.797 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.5642, allocations: 147.7 kB / 0.6322 GB, free: 9.656 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.5653, allocations: 173.5 kB / 0.6324 GB, free: 9.488 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00717/0.5725, allocations: 4.035 MB / 0.6363 GB, free: 5.281 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.5727, allocations: 239.7 kB / 0.6365 GB, free: 5.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000362/0.5731, allocations: 154.6 kB / 0.6367 GB, free: 4.871 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.5733, allocations: 167.4 kB / 0.6368 GB, free: 4.707 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5733, allocations: 0 / 0.6368 GB, free: 4.707 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08476/0.6581, allocations: 40.23 MB / 0.6761 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.99, allocations: 11.92 kB / 0.6761 GB, free: 12.71 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.455620841588825]