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.001318/0.001318, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001529/0.001529, allocations: 214.1 kB / 22.99 MB, free: 4.605 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.584/1.584, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2335/0.2335, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] 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.003373/0.003373, allocations: 68.47 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1361, allocations: 61.04 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.311/0.4471, allocations: 27.56 MB / 0.5431 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02035/0.4674, allocations: 13.8 MB / 0.5565 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.4678, allocations: 13.47 kB / 0.5566 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007835/0.4686, allocations: 202.1 kB / 0.5567 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007299/0.4694, allocations: 273.7 kB / 0.557 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01977/0.4891, allocations: 5.56 MB / 0.5624 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.4907, allocations: 0.8278 MB / 0.5632 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004144/0.4912, allocations: 182.4 kB / 0.5634 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01179/0.5029, allocations: 5.489 MB / 0.5688 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007651/0.5037, allocations: 232.8 kB / 0.569 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-05/0.5038, allocations: 27.88 kB / 0.569 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.5187, allocations: 5.835 MB / 0.5747 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.5189, allocations: 98.47 kB / 0.5748 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.5193, allocations: 155.1 kB / 0.575 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.5304, allocations: 3.649 MB / 0.5785 GB, free: 12.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.5304, allocations: 0 / 0.5785 GB, free: 12.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5304, allocations: 0 / 0.5785 GB, free: 12.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.5304, allocations: 3.938 kB / 0.5785 GB, free: 12.59 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.003429/0.5338, allocations: 0.9366 MB / 0.5794 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.5339, allocations: 9.25 kB / 0.5795 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.899e-05/0.534, allocations: 68.19 kB / 0.5795 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009233/0.5349, allocations: 112.4 kB / 0.5796 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.5355, allocations: 282.7 kB / 0.5799 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.5356, allocations: 25.91 kB / 0.5799 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.5356, allocations: 24.28 kB / 0.5799 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.5369, allocations: 0.594 MB / 0.5805 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5369, allocations: 7.938 kB / 0.5805 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.5369, allocations: 12.34 kB / 0.5805 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.5369, allocations: 7.281 kB / 0.5806 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.538, allocations: 372.5 kB / 0.5809 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.5411, allocations: 1.77 MB / 0.5826 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.5421, allocations: 267.5 kB / 0.5829 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.5423, allocations: 95.86 kB / 0.583 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.5426, allocations: 101 kB / 0.5831 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.5427, allocations: 40.58 kB / 0.5831 GB, free: 9.031 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.734e-06/0.5427, allocations: 4 kB / 0.5831 GB, free: 9.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001731/0.5444, allocations: 450.7 kB / 0.5836 GB, free: 8.801 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.5445, allocations: 113 kB / 0.5837 GB, free: 8.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.5449, allocations: 328.3 kB / 0.584 GB, free: 8.453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.5449, allocations: 28.2 kB / 0.584 GB, free: 8.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.5451, allocations: 214.3 kB / 0.5842 GB, free: 8.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.5451, allocations: 37.78 kB / 0.5842 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.674e-05/0.5452, allocations: 61.77 kB / 0.5843 GB, free: 8.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5454, allocations: 336.6 kB / 0.5846 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.5456, allocations: 90.45 kB / 0.5847 GB, free: 7.773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.546, allocations: 255.8 kB / 0.5849 GB, free: 7.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.5466, allocations: 285.9 kB / 0.5852 GB, free: 7.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5467, allocations: 1.062 kB / 0.5852 GB, free: 7.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007306/0.5474, allocations: 320.4 kB / 0.5855 GB, free: 7.113 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5474, allocations: 8.75 kB / 0.5855 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5474, allocations: 2.406 kB / 0.5855 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.5474, allocations: 5.75 kB / 0.5855 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.5477, allocations: 65.3 kB / 0.5856 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.291e-05/0.5477, allocations: 19.3 kB / 0.5856 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.548, allocations: 48.38 kB / 0.5857 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.548, allocations: 14.67 kB / 0.5857 GB, free: 7.047 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.0001905/0.5482, allocations: 146.8 kB / 0.5858 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.5483, allocations: 36.38 kB / 0.5859 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.5494, allocations: 0.7801 MB / 0.5866 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.5495, allocations: 6.609 kB / 0.5866 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5495, allocations: 3.938 kB / 0.5866 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5495, allocations: 0 / 0.5866 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.5501, allocations: 492 kB / 0.5871 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5501, allocations: 0 / 0.5871 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.5503, allocations: 48.23 kB / 0.5871 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5503, allocations: 2.781 kB / 0.5871 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.5503, allocations: 4 kB / 0.5872 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5503, allocations: 0 / 0.5872 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5503, allocations: 6.531 kB / 0.5872 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.5511, allocations: 468.9 kB / 0.5876 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.5512, allocations: 42.36 kB / 0.5876 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.5512, allocations: 28.5 kB / 0.5877 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.5514, allocations: 15.02 kB / 0.5877 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.5515, allocations: 23.64 kB / 0.5877 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.5515, allocations: 10.05 kB / 0.5877 GB, free: 5.637 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000432/0.552, allocations: 342.3 kB / 0.588 GB, free: 5.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.552, allocations: 0 / 0.588 GB, free: 5.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004159/0.5561, allocations: 0.8516 MB / 0.5889 GB, free: 5.273 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.006697/0.5628, allocations: 1.897 MB / 0.5907 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007997/0.5636, allocations: 268.5 kB / 0.591 GB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5636, allocations: 0 / 0.591 GB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.5639, allocations: 139.7 kB / 0.5911 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.565, allocations: 176.3 kB / 0.5913 GB, free: 3.855 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007261/0.5722, allocations: 4.026 MB / 0.5952 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.5725, allocations: 236 kB / 0.5954 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.5729, allocations: 149.8 kB / 0.5956 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.5731, allocations: 163.4 kB / 0.5957 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5731, allocations: 7.938 kB / 0.5958 GB, free: 500 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08821/0.6613, allocations: 40.16 MB / 0.635 GB, free: 8.289 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.94, allocations: 7.969 kB / 0.635 GB, free: 8.281 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: 17.27547460515052]