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.001699/0.001699, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001967/0.001967, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.582/1.582, allocations: 230.6 MB / 254.1 MB, free: 15.05 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.2545/0.2545, allocations: 44.91 MB / 355.1 MB, free: 12.31 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.002049/0.002049, allocations: 75.88 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1432, allocations: 65.42 MB / 0.5517 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03556/0.1788, allocations: 30.38 MB / 0.5814 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3335/0.5122, allocations: 15.59 MB / 0.5966 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.5126, allocations: 14.94 kB / 0.5966 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.5133, allocations: 220.2 kB / 0.5969 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007834/0.5141, allocations: 282.3 kB / 0.5971 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01683/0.531, allocations: 5.641 MB / 0.6026 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.5323, allocations: 0.8155 MB / 0.6034 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.5327, allocations: 202.1 kB / 0.6036 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01181/0.5445, allocations: 5.502 MB / 0.609 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.5452, allocations: 245.5 kB / 0.6092 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/0.5452, allocations: 29.69 kB / 0.6093 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01192/0.5572, allocations: 6.099 MB / 0.6152 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.5574, allocations: 91.12 kB / 0.6153 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.5578, allocations: 182.6 kB / 0.6155 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009251/0.5671, allocations: 3.687 MB / 0.6191 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5671, allocations: 0 / 0.6191 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5671, allocations: 3.984 kB / 0.6191 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.5671, allocations: 1.312 kB / 0.6191 GB, free: 0.7344 MB / 446.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.003261/0.5704, allocations: 1.02 MB / 0.6201 GB, free: 4 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5704, allocations: 9.594 kB / 0.6201 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.5705, allocations: 65.38 kB / 0.6201 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.5715, allocations: 121.7 kB / 0.6203 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.5722, allocations: 349.9 kB / 0.6206 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.5722, allocations: 22.88 kB / 0.6206 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.5723, allocations: 25.31 kB / 0.6206 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.5735, allocations: 454.5 kB / 0.6211 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5736, allocations: 1.062 kB / 0.6211 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.5736, allocations: 12 kB / 0.6211 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.5736, allocations: 9.188 kB / 0.6211 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.5748, allocations: 368.9 kB / 0.6214 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.5783, allocations: 2.386 MB / 0.6238 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.5794, allocations: 269.1 kB / 0.624 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.5797, allocations: 89.73 kB / 0.6241 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/0.5802, allocations: 483 kB / 0.6246 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.5802, allocations: 41.12 kB / 0.6246 GB, free: 12.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/0.5802, allocations: 0 / 0.6246 GB, free: 12.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001849/0.5821, allocations: 457.8 kB / 0.6251 GB, free: 11.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.5822, allocations: 109.6 kB / 0.6252 GB, free: 11.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.5826, allocations: 319.1 kB / 0.6255 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.5826, allocations: 33.27 kB / 0.6255 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.5828, allocations: 211.3 kB / 0.6257 GB, free: 11.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.5828, allocations: 52.98 kB / 0.6258 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.5829, allocations: 55.88 kB / 0.6258 GB, free: 11.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5831, allocations: 336.9 kB / 0.6261 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.5834, allocations: 91.39 kB / 0.6262 GB, free: 10.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.5838, allocations: 201.6 kB / 0.6264 GB, free: 10.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.5844, allocations: 279.2 kB / 0.6267 GB, free: 10.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5844, allocations: 0 / 0.6267 GB, free: 10.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008084/0.5853, allocations: 325.4 kB / 0.627 GB, free: 10.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5853, allocations: 9.406 kB / 0.627 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5853, allocations: 3.188 kB / 0.627 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5853, allocations: 5.25 kB / 0.627 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.5856, allocations: 69.64 kB / 0.6271 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.5856, allocations: 11.84 kB / 0.6271 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.5859, allocations: 40 kB / 0.6271 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.5859, allocations: 14.16 kB / 0.6271 GB, free: 10.34 MB / 462.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.0001948/0.5861, allocations: 160 kB / 0.6273 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.5862, allocations: 29 kB / 0.6273 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.5874, allocations: 0.7433 MB / 0.628 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.5875, allocations: 6.375 kB / 0.628 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.5875, allocations: 9.016 kB / 0.628 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.5875, allocations: 0 / 0.628 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007407/0.5882, allocations: 0.528 MB / 0.6286 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.5882, allocations: 0 / 0.6286 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.5884, allocations: 48.06 kB / 0.6286 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5884, allocations: 5.969 kB / 0.6286 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.5885, allocations: 1.594 kB / 0.6286 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5885, allocations: 0 / 0.6286 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5885, allocations: 5.344 kB / 0.6286 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.5893, allocations: 467.8 kB / 0.6291 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.5895, allocations: 116.9 kB / 0.6292 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/0.5895, allocations: 27.34 kB / 0.6292 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.5898, allocations: 18.34 kB / 0.6292 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.5899, allocations: 24.38 kB / 0.6292 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.5899, allocations: 9.203 kB / 0.6293 GB, free: 8.789 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004055/0.5903, allocations: 342.8 kB / 0.6296 GB, free: 8.586 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5903, allocations: 0 / 0.6296 GB, free: 8.586 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003329/0.5936, allocations: 0.8556 MB / 0.6304 GB, free: 8.43 MB / 462.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.006109/0.5997, allocations: 1.889 MB / 0.6323 GB, free: 7.359 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.6005, allocations: 265.9 kB / 0.6325 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6005, allocations: 1.875 kB / 0.6325 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.6008, allocations: 134.6 kB / 0.6326 GB, free: 7.191 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.6019, allocations: 192.2 kB / 0.6328 GB, free: 7.094 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.6094, allocations: 4.025 MB / 0.6368 GB, free: 4.359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.61, allocations: 0.8447 MB / 0.6376 GB, free: 3.594 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004467/0.6104, allocations: 143.2 kB / 0.6377 GB, free: 3.531 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.6107, allocations: 160.7 kB / 0.6379 GB, free: 3.395 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6107, allocations: 3.188 kB / 0.6379 GB, free: 3.395 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07954/0.6902, allocations: 39.08 MB / 0.676 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/11.21, allocations: 18.55 kB / 0.6761 GB, free: 12.89 MB / 0.4981 GB " [Timeout remaining time 649] (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: 14.71846475917846]