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.00143/0.00143, 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.001716/0.001716, allocations: 213.7 kB / 23 MB, free: 5.008 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.454/1.454, 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.2146/0.2146, allocations: 44.25 MB / 330.3 MB, free: 9.629 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.003676/0.003676, allocations: 69.72 kB / 467.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1424, allocations: 61.05 MB / 0.5162 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2836/0.426, allocations: 30.46 MB / 0.5459 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0175/0.4435, allocations: 15.65 MB / 0.5612 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.4439, allocations: 14.16 kB / 0.5612 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.4446, allocations: 215.2 kB / 0.5614 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007347/0.4454, allocations: 274.1 kB / 0.5617 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01807/0.4635, allocations: 5.637 MB / 0.5672 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.4646, allocations: 0.8303 MB / 0.568 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.4649, allocations: 193.1 kB / 0.5682 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.4756, allocations: 5.503 MB / 0.5735 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.4761, allocations: 241.2 kB / 0.5738 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.295e-05/0.4762, allocations: 29.12 kB / 0.5738 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/0.4893, allocations: 6.105 MB / 0.5798 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.4894, allocations: 90.55 kB / 0.5798 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.4898, allocations: 183.4 kB / 0.58 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009637/0.4994, allocations: 3.654 MB / 0.5836 GB, free: 9.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4994, allocations: 3.938 kB / 0.5836 GB, free: 9.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4994, allocations: 1.188 kB / 0.5836 GB, free: 9.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.4995, allocations: 0 / 0.5836 GB, free: 9.359 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.002739/0.5022, allocations: 0.9355 MB / 0.5845 GB, free: 8.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.5022, allocations: 9.875 kB / 0.5845 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.448e-05/0.5023, allocations: 63.53 kB / 0.5846 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/0.5033, allocations: 112.1 kB / 0.5847 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.5038, allocations: 282 kB / 0.5849 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.5038, allocations: 20.22 kB / 0.585 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.5039, allocations: 26.95 kB / 0.585 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.505, allocations: 464 kB / 0.5854 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.505, allocations: 1.281 kB / 0.5854 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.505, allocations: 10.84 kB / 0.5854 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.505, allocations: 7.938 kB / 0.5855 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5061, allocations: 374.8 kB / 0.5858 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.5094, allocations: 2.194 MB / 0.588 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/0.5104, allocations: 272.2 kB / 0.5882 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.5107, allocations: 93.2 kB / 0.5883 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.5109, allocations: 101.3 kB / 0.5884 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.511, allocations: 32.09 kB / 0.5884 GB, free: 5.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.511, allocations: 0 / 0.5884 GB, free: 5.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.00164/0.5126, allocations: 452 kB / 0.5889 GB, free: 5.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.5127, allocations: 114.7 kB / 0.589 GB, free: 5.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.5131, allocations: 324.2 kB / 0.5893 GB, free: 4.906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.5131, allocations: 30.98 kB / 0.5893 GB, free: 4.871 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.5133, allocations: 209.6 kB / 0.5895 GB, free: 4.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.5133, allocations: 46.45 kB / 0.5896 GB, free: 4.641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.5134, allocations: 50.42 kB / 0.5896 GB, free: 4.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5136, allocations: 340.8 kB / 0.5899 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.5138, allocations: 85.53 kB / 0.59 GB, free: 4.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.5142, allocations: 201.8 kB / 0.5902 GB, free: 4.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.5148, allocations: 288.1 kB / 0.5905 GB, free: 3.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5148, allocations: 0 / 0.5905 GB, free: 3.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000698/0.5155, allocations: 321 kB / 0.5908 GB, free: 3.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5155, allocations: 5.562 kB / 0.5908 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5155, allocations: 6.656 kB / 0.5908 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.5155, allocations: 2.625 kB / 0.5908 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.5158, allocations: 61.77 kB / 0.5909 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.544e-05/0.5158, allocations: 13.62 kB / 0.5909 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.5161, allocations: 53.2 kB / 0.5909 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.5161, allocations: 13.25 kB / 0.5909 GB, free: 3.566 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.0001633/0.5163, allocations: 159.2 kB / 0.5911 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.5164, allocations: 32.69 kB / 0.5911 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.5175, allocations: 0.7531 MB / 0.5918 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.5176, allocations: 11.17 kB / 0.5919 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5176, allocations: 7.875 kB / 0.5919 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5176, allocations: 0 / 0.5919 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.5182, allocations: 0.5163 MB / 0.5924 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.5182, allocations: 0 / 0.5924 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.5184, allocations: 44.77 kB / 0.5924 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5184, allocations: 5.375 kB / 0.5924 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5184, allocations: 5.375 kB / 0.5924 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5184, allocations: 0 / 0.5924 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5184, allocations: 9.297 kB / 0.5924 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007566/0.5191, allocations: 470.3 kB / 0.5929 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.5192, allocations: 45.67 kB / 0.5929 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.5193, allocations: 25.59 kB / 0.593 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.5195, allocations: 12.83 kB / 0.593 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.5196, allocations: 22.59 kB / 0.593 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.5196, allocations: 8.453 kB / 0.593 GB, free: 2.129 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004013/0.52, allocations: 346.6 kB / 0.5933 GB, free: 1.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.52, allocations: 1.25 kB / 0.5933 GB, free: 1.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003283/0.5233, allocations: 0.8484 MB / 0.5942 GB, free: 1.766 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.006111/0.5294, allocations: 1.894 MB / 0.596 GB, free: 0.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007914/0.5302, allocations: 263.9 kB / 0.5963 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5302, allocations: 6.906 kB / 0.5963 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.5305, allocations: 136.6 kB / 0.5964 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009963/0.5315, allocations: 178.5 kB / 0.5966 GB, free: 356 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.5381, allocations: 4.038 MB / 0.6005 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.5386, allocations: 0.8384 MB / 0.6013 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.539, allocations: 154 kB / 0.6015 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.5392, allocations: 163.4 kB / 0.6016 GB, free: 11.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5392, allocations: 0 / 0.6016 GB, free: 11.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08891/0.6281, allocations: 39.4 MB / 0.6401 GB, free: 4.125 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.93, allocations: 11.78 kB / 0.6401 GB, free: 4.113 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.100239299004897]