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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108.1 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 196.6 kB / 20.03 MB, free: 3.078 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.513/1.513, allocations: 205.1 MB / 227.9 MB, free: 4.332 MB / 174.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.3921/0.3921, allocations: 43.51 MB / 320.8 MB, free: 9.043 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 71.89 kB / 450 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3301, allocations: 57.77 MB / 0.4959 GB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03277/0.3629, allocations: 30.07 MB / 0.5253 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0216/0.3846, allocations: 15.5 MB / 0.5404 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.3852, allocations: 11.94 kB / 0.5404 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008234/0.3861, allocations: 222.6 kB / 0.5406 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007827/0.3869, allocations: 270.4 kB / 0.5409 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01894/0.4058, allocations: 5.617 MB / 0.5464 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.4072, allocations: 0.8109 MB / 0.5471 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.4077, allocations: 228.7 kB / 0.5474 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01397/0.4217, allocations: 5.458 MB / 0.5527 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.4223, allocations: 239 kB / 0.5529 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/0.4224, allocations: 28 kB / 0.5529 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01391/0.4364, allocations: 6.084 MB / 0.5589 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.4366, allocations: 83.73 kB / 0.559 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.437, allocations: 195.1 kB / 0.5592 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.4479, allocations: 3.656 MB / 0.5627 GB, free: 5.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.448, allocations: 0 / 0.5627 GB, free: 5.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.448, allocations: 0 / 0.5627 GB, free: 5.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.448, allocations: 0 / 0.5627 GB, free: 5.562 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.002929/0.451, allocations: 1.015 MB / 0.5637 GB, free: 4.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.451, allocations: 11.89 kB / 0.5637 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.212e-05/0.4511, allocations: 62.72 kB / 0.5638 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009447/0.4521, allocations: 112.6 kB / 0.5639 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.4526, allocations: 346.7 kB / 0.5642 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.4526, allocations: 20.94 kB / 0.5642 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.4527, allocations: 28.12 kB / 0.5643 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.4539, allocations: 454.9 kB / 0.5647 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4539, allocations: 3.938 kB / 0.5647 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.4539, allocations: 12 kB / 0.5647 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.454, allocations: 8 kB / 0.5647 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.4552, allocations: 369.3 kB / 0.5651 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003628/0.4588, allocations: 2.384 MB / 0.5674 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.4599, allocations: 274.3 kB / 0.5677 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.4602, allocations: 93.02 kB / 0.5678 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005161/0.4607, allocations: 481.4 kB / 0.5682 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.4608, allocations: 38.56 kB / 0.5683 GB, free: 15.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.4608, allocations: 0 / 0.5683 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001766/0.4626, allocations: 461.3 kB / 0.5687 GB, free: 14.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.4627, allocations: 110.8 kB / 0.5688 GB, free: 14.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.4631, allocations: 316.5 kB / 0.5691 GB, free: 14.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.4631, allocations: 33.7 kB / 0.5691 GB, free: 14.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.4633, allocations: 208 kB / 0.5693 GB, free: 14.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.4634, allocations: 47.62 kB / 0.5694 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4635, allocations: 61.58 kB / 0.5694 GB, free: 14.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.4637, allocations: 338.8 kB / 0.5698 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.464, allocations: 83.94 kB / 0.5698 GB, free: 13.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.4644, allocations: 203.3 kB / 0.57 GB, free: 13.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.4651, allocations: 277.5 kB / 0.5703 GB, free: 13.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4651, allocations: 4 kB / 0.5703 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007873/0.4659, allocations: 329.2 kB / 0.5706 GB, free: 12.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4659, allocations: 7.984 kB / 0.5706 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4659, allocations: 4 kB / 0.5706 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.466, allocations: 4 kB / 0.5706 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.4662, allocations: 67.83 kB / 0.5707 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4663, allocations: 4 kB / 0.5707 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.4665, allocations: 39.95 kB / 0.5707 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.4666, allocations: 20 kB / 0.5708 GB, free: 12.7 MB / 446.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.0001908/0.4668, allocations: 157.7 kB / 0.5709 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.4668, allocations: 27.81 kB / 0.5709 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.4681, allocations: 0.7487 MB / 0.5717 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.4681, allocations: 11.94 kB / 0.5717 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4682, allocations: 0 / 0.5717 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4682, allocations: 3.984 kB / 0.5717 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.4689, allocations: 0.5261 MB / 0.5722 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4689, allocations: 0 / 0.5722 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.4691, allocations: 43.95 kB / 0.5722 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4691, allocations: 0 / 0.5722 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.4691, allocations: 7.984 kB / 0.5722 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.4692, allocations: 11.94 kB / 0.5723 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4692, allocations: 0 / 0.5723 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.47, allocations: 465.9 kB / 0.5727 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.4701, allocations: 116.8 kB / 0.5728 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.4701, allocations: 23.78 kB / 0.5728 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.4704, allocations: 19.86 kB / 0.5729 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.4705, allocations: 19.97 kB / 0.5729 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.4705, allocations: 4 kB / 0.5729 GB, free: 10.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004056/0.4709, allocations: 350.8 kB / 0.5732 GB, free: 10.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4709, allocations: 0 / 0.5732 GB, free: 10.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002826/0.4738, allocations: 0.85 MB / 0.574 GB, free: 9.219 MB / 446.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.005321/0.4791, allocations: 1.894 MB / 0.5759 GB, free: 7.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008239/0.4799, allocations: 276.6 kB / 0.5762 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4799, allocations: 0 / 0.5762 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.4803, allocations: 159.9 kB / 0.5763 GB, free: 6.879 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.4813, allocations: 187.7 kB / 0.5765 GB, free: 6.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006995/0.4883, allocations: 4.023 MB / 0.5804 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.4889, allocations: 0.8385 MB / 0.5812 GB, free: 1.633 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003881/0.4892, allocations: 146.8 kB / 0.5814 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.4895, allocations: 163.4 kB / 0.5815 GB, free: 1.328 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4895, allocations: 0 / 0.5815 GB, free: 1.328 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08161/0.5711, allocations: 38.93 MB / 0.6195 GB, free: 10.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.97, allocations: 7.844 kB / 0.6196 GB, free: 10.32 MB / 494.1 MB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.120683260960504]