Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001361/0.001361, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001454/0.001454, allocations: 204.8 kB / 23.73 MB, free: 4.379 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.446/1.446, allocations: 230.6 MB / 257.5 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.2411/0.2411, allocations: 46.96 MB / 360.9 MB, free: 4.035 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 71.89 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3821, allocations: 66.03 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03809/0.4202, allocations: 27.69 MB / 0.5876 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02218/0.4424, allocations: 13.85 MB / 0.6011 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/0.4428, allocations: 11.88 kB / 0.6012 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007824/0.4436, allocations: 198.7 kB / 0.6013 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.4443, allocations: 278.4 kB / 0.6016 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01684/0.4611, allocations: 5.598 MB / 0.6071 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.4626, allocations: 0.8303 MB / 0.6079 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.463, allocations: 185 kB / 0.6081 GB, free: 3.496 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/0.4749, allocations: 5.502 MB / 0.6134 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.4755, allocations: 243 kB / 0.6137 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.152e-05/0.4756, allocations: 35.98 kB / 0.6137 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.4884, allocations: 6.072 MB / 0.6196 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.4887, allocations: 91.67 kB / 0.6197 GB, free: 7.465 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004228/0.4891, allocations: 155.4 kB / 0.6199 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.5003, allocations: 3.679 MB / 0.6235 GB, free: 3.625 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.5003, allocations: 3.984 kB / 0.6235 GB, free: 3.621 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5003, allocations: 0 / 0.6235 GB, free: 3.621 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.5003, allocations: 0 / 0.6235 GB, free: 3.621 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.503, allocations: 0.947 MB / 0.6244 GB, free: 2.641 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.503, allocations: 8.031 kB / 0.6244 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.703e-05/0.5031, allocations: 62.67 kB / 0.6245 GB, free: 2.562 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009577/0.5041, allocations: 128.6 kB / 0.6246 GB, free: 2.438 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.5046, allocations: 288.9 kB / 0.6249 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.5047, allocations: 20.88 kB / 0.6249 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.5047, allocations: 28.12 kB / 0.6249 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.5059, allocations: 0.5902 MB / 0.6255 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.506, allocations: 3.938 kB / 0.6255 GB, free: 1.414 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.506, allocations: 12 kB / 0.6255 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.506, allocations: 12 kB / 0.6255 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.507, allocations: 361.3 kB / 0.6259 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.5099, allocations: 1.781 MB / 0.6276 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.5109, allocations: 274.3 kB / 0.6279 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.5112, allocations: 84.8 kB / 0.6279 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/0.5115, allocations: 111.8 kB / 0.628 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.5115, allocations: 38.56 kB / 0.6281 GB, free: 14.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.5115, allocations: 0 / 0.6281 GB, free: 14.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001699/0.5132, allocations: 457 kB / 0.6285 GB, free: 14.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.5133, allocations: 106.8 kB / 0.6286 GB, free: 14.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.5137, allocations: 332.6 kB / 0.6289 GB, free: 13.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.5137, allocations: 29.7 kB / 0.629 GB, free: 13.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.5139, allocations: 215.8 kB / 0.6292 GB, free: 13.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.5139, allocations: 39.69 kB / 0.6292 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.514, allocations: 57.64 kB / 0.6293 GB, free: 13.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5142, allocations: 338.8 kB / 0.6296 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.5144, allocations: 83.92 kB / 0.6297 GB, free: 12.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.5148, allocations: 258.7 kB / 0.6299 GB, free: 12.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/0.5154, allocations: 273.5 kB / 0.6302 GB, free: 12.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5154, allocations: 4 kB / 0.6302 GB, free: 12.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007501/0.5162, allocations: 325.6 kB / 0.6305 GB, free: 12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5162, allocations: 4 kB / 0.6305 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.5162, allocations: 4 kB / 0.6305 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.5162, allocations: 11.94 kB / 0.6305 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.5165, allocations: 63.83 kB / 0.6306 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5165, allocations: 4 kB / 0.6306 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.5167, allocations: 48.05 kB / 0.6306 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.5167, allocations: 12 kB / 0.6306 GB, free: 11.85 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.0001708/0.5169, allocations: 153.8 kB / 0.6308 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.517, allocations: 31.81 kB / 0.6308 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.5182, allocations: 0.7641 MB / 0.6316 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.5182, allocations: 15.92 kB / 0.6316 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5182, allocations: 0 / 0.6316 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5182, allocations: 0 / 0.6316 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.5188, allocations: 485.8 kB / 0.632 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.5188, allocations: 11.94 kB / 0.632 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.519, allocations: 39.95 kB / 0.6321 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.519, allocations: 7.984 kB / 0.6321 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.5191, allocations: 4 kB / 0.6321 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.5191, allocations: 7.938 kB / 0.6321 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5191, allocations: 0 / 0.6321 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/0.5198, allocations: 474.6 kB / 0.6326 GB, free: 9.809 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.5199, allocations: 43.62 kB / 0.6326 GB, free: 9.766 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.52, allocations: 27.78 kB / 0.6326 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.5202, allocations: 15.92 kB / 0.6326 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.5203, allocations: 19.97 kB / 0.6327 GB, free: 9.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.5203, allocations: 7.984 kB / 0.6327 GB, free: 9.695 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004063/0.5207, allocations: 338.9 kB / 0.633 GB, free: 9.363 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5207, allocations: 4 kB / 0.633 GB, free: 9.359 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002761/0.5235, allocations: 0.8577 MB / 0.6338 GB, free: 8.5 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.005002/0.5285, allocations: 1.885 MB / 0.6357 GB, free: 6.586 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007947/0.5293, allocations: 264.6 kB / 0.6359 GB, free: 6.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5293, allocations: 0 / 0.6359 GB, free: 6.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.5296, allocations: 135.9 kB / 0.636 GB, free: 6.195 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5306, allocations: 198 kB / 0.6362 GB, free: 6.012 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00754/0.5382, allocations: 4.033 MB / 0.6402 GB, free: 1.805 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.5384, allocations: 243.7 kB / 0.6404 GB, free: 1.539 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004141/0.5388, allocations: 134.8 kB / 0.6405 GB, free: 1.406 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.5391, allocations: 167.4 kB / 0.6407 GB, free: 1.242 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5391, allocations: 0 / 0.6407 GB, free: 1.242 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08953/0.6286, allocations: 40.38 MB / 0.6801 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.39, allocations: 16.11 kB / 0.6801 GB, free: 9.094 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.58136377998744]