Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001646/0.001646, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.002009/0.002009, allocations: 219.2 kB / 23.01 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.24 MB / 330.3 MB, free: 9.609 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002228/0.002228, allocations: 77.56 kB / 467.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.135, allocations: 61.04 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2956/0.4306, allocations: 30.46 MB / 0.5459 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.4509, allocations: 15.65 MB / 0.5612 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.4513, allocations: 15.06 kB / 0.5612 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.4521, allocations: 220.6 kB / 0.5614 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006917/0.4528, allocations: 272.3 kB / 0.5617 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0188/0.4716, allocations: 5.635 MB / 0.5672 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.473, allocations: 0.8312 MB / 0.568 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.4734, allocations: 189.8 kB / 0.5682 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/0.488, allocations: 5.507 MB / 0.5735 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009319/0.4889, allocations: 242.6 kB / 0.5738 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.489, allocations: 28.78 kB / 0.5738 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01511/0.5041, allocations: 6.1 MB / 0.5797 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.5043, allocations: 91.28 kB / 0.5798 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.5047, allocations: 183.5 kB / 0.58 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009877/0.5146, allocations: 3.659 MB / 0.5836 GB, free: 9.336 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.5146, allocations: 3.938 kB / 0.5836 GB, free: 9.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5146, allocations: 0 / 0.5836 GB, free: 9.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.5146, allocations: 0 / 0.5836 GB, free: 9.332 MB / 430.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.003671/0.5183, allocations: 0.9364 MB / 0.5845 GB, free: 8.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5183, allocations: 9.438 kB / 0.5845 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.923e-05/0.5184, allocations: 59.98 kB / 0.5846 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/0.5193, allocations: 111.6 kB / 0.5847 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.5199, allocations: 286 kB / 0.5849 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.5199, allocations: 21.95 kB / 0.585 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.5199, allocations: 23.47 kB / 0.585 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.521, allocations: 463 kB / 0.5854 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.521, allocations: 5.406 kB / 0.5854 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.5211, allocations: 12.41 kB / 0.5854 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.5211, allocations: 8.812 kB / 0.5855 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.5222, allocations: 372.3 kB / 0.5858 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.5255, allocations: 2.201 MB / 0.588 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.5266, allocations: 268 kB / 0.5882 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.5268, allocations: 89.92 kB / 0.5883 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.5271, allocations: 98.84 kB / 0.5884 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.5271, allocations: 37.12 kB / 0.5884 GB, free: 5.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.5271, allocations: 0 / 0.5884 GB, free: 5.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001678/0.5288, allocations: 453.7 kB / 0.5889 GB, free: 5.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.5289, allocations: 109.1 kB / 0.589 GB, free: 5.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.5293, allocations: 326.4 kB / 0.5893 GB, free: 4.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.5293, allocations: 30.92 kB / 0.5893 GB, free: 4.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.5295, allocations: 211.3 kB / 0.5895 GB, free: 4.648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.5295, allocations: 45.17 kB / 0.5896 GB, free: 4.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.5296, allocations: 51.98 kB / 0.5896 GB, free: 4.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5298, allocations: 340 kB / 0.5899 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.53, allocations: 86.66 kB / 0.59 GB, free: 4.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.5304, allocations: 200.6 kB / 0.5902 GB, free: 4.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.531, allocations: 282.2 kB / 0.5905 GB, free: 3.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.531, allocations: 2.219 kB / 0.5905 GB, free: 3.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006955/0.5317, allocations: 314 kB / 0.5908 GB, free: 3.609 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5317, allocations: 11.38 kB / 0.5908 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5317, allocations: 3 kB / 0.5908 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5317, allocations: 6.094 kB / 0.5908 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.5319, allocations: 64.83 kB / 0.5909 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.532, allocations: 13.66 kB / 0.5909 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.5322, allocations: 51.55 kB / 0.5909 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.5323, allocations: 13.56 kB / 0.5909 GB, free: 3.539 MB / 430.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.0001791/0.5324, allocations: 160.1 kB / 0.5911 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.5325, allocations: 30.69 kB / 0.5911 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.5337, allocations: 0.757 MB / 0.5919 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.5337, allocations: 17.14 kB / 0.5919 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5337, allocations: 3.938 kB / 0.5919 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5337, allocations: 0 / 0.5919 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.5343, allocations: 0.5113 MB / 0.5924 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.5343, allocations: 1.5 kB / 0.5924 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.5345, allocations: 43.67 kB / 0.5924 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5345, allocations: 1.219 kB / 0.5924 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5345, allocations: 5.281 kB / 0.5924 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5345, allocations: 4.906 kB / 0.5924 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5345, allocations: 3.938 kB / 0.5924 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007429/0.5353, allocations: 466.8 kB / 0.5929 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.5354, allocations: 50.48 kB / 0.5929 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.5354, allocations: 25.38 kB / 0.5929 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.5356, allocations: 13.11 kB / 0.593 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.5357, allocations: 27.09 kB / 0.593 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.5357, allocations: 7.422 kB / 0.593 GB, free: 2.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003893/0.5361, allocations: 343.6 kB / 0.5933 GB, free: 1.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5361, allocations: 0 / 0.5933 GB, free: 1.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00318/0.5393, allocations: 0.8455 MB / 0.5941 GB, free: 1.746 MB / 430.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.006072/0.5454, allocations: 1.901 MB / 0.596 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008046/0.5462, allocations: 267.4 kB / 0.5963 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.5462, allocations: 6.719 kB / 0.5963 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.5465, allocations: 137.5 kB / 0.5964 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5476, allocations: 178.2 kB / 0.5966 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008495/0.5561, allocations: 4.027 MB / 0.6005 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.5566, allocations: 0.8462 MB / 0.6013 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.557, allocations: 152.8 kB / 0.6015 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.5573, allocations: 163.4 kB / 0.6016 GB, free: 11.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5573, allocations: 0 / 0.6016 GB, free: 11.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09286/0.6501, allocations: 39.39 MB / 0.6401 GB, free: 4.094 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.8, allocations: 11.86 kB / 0.6401 GB, free: 4.082 MB / 478.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.983740049996413]