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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009796/0.0009794, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 182.1 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3888/0.3888, allocations: 43.58 MB / 315 MB, free: 9.055 MB / 254.1 MB 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.0004947/0.0004947, allocations: 16 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 58.86 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2693/0.3929, allocations: 30.17 MB / 473.7 MB, free: 32.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.4089, allocations: 16.21 MB / 489.9 MB, free: 22.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.4094, allocations: 14.5 kB / 489.9 MB, free: 22.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00068/0.4101, allocations: 181.3 kB / 490.1 MB, free: 22.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.4107, allocations: 256 kB / 490.4 MB, free: 22.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01344/0.4241, allocations: 4.512 MB / 494.9 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.4254, allocations: 1.09 MB / 496 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.4257, allocations: 185 kB / 496.1 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009358/0.435, allocations: 5.399 MB / 0.4898 GB, free: 17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.4354, allocations: 230.7 kB / 0.49 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.4355, allocations: 13.69 kB / 0.49 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/0.4485, allocations: 6.001 MB / 0.4959 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.4487, allocations: 73.27 kB / 0.496 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.449, allocations: 198.9 kB / 0.4961 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008955/0.4579, allocations: 3.62 MB / 0.4997 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.458, allocations: 0 / 0.4997 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.458, allocations: 0 / 0.4997 GB, free: 14.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.458, allocations: 0 / 0.4997 GB, free: 14.37 MB / 382.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.00321/0.4612, allocations: 0.9322 MB / 0.5006 GB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4613, allocations: 9.469 kB / 0.5006 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.634e-05/0.4614, allocations: 67.3 kB / 0.5007 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.4623, allocations: 123 kB / 0.5008 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.4627, allocations: 328.2 kB / 0.5011 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.4627, allocations: 25.31 kB / 0.5011 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.4627, allocations: 24.88 kB / 0.5011 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.4638, allocations: 475.7 kB / 0.5016 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4638, allocations: 1.25 kB / 0.5016 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.4639, allocations: 12.31 kB / 0.5016 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.4639, allocations: 6.469 kB / 0.5016 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.465, allocations: 401.4 kB / 0.502 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.4675, allocations: 2.395 MB / 0.5043 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4685, allocations: 312.2 kB / 0.5046 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.4688, allocations: 110.3 kB / 0.5047 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.4691, allocations: 482.6 kB / 0.5052 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.4691, allocations: 32.5 kB / 0.5052 GB, free: 9.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.4691, allocations: 0 / 0.5052 GB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001637/0.4708, allocations: 493 kB / 0.5057 GB, free: 9.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.4708, allocations: 112.9 kB / 0.5058 GB, free: 9.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.4711, allocations: 319.2 kB / 0.5061 GB, free: 9.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.4712, allocations: 31.17 kB / 0.5061 GB, free: 9.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4713, allocations: 210.5 kB / 0.5063 GB, free: 8.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.4713, allocations: 44.95 kB / 0.5064 GB, free: 8.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.4713, allocations: 32.23 kB / 0.5064 GB, free: 8.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.4714, allocations: 338.1 kB / 0.5067 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.4717, allocations: 90.28 kB / 0.5068 GB, free: 8.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.472, allocations: 217.9 kB / 0.507 GB, free: 8.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.4725, allocations: 303 kB / 0.5073 GB, free: 8.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4726, allocations: 2.312 kB / 0.5073 GB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006896/0.4733, allocations: 338.4 kB / 0.5076 GB, free: 7.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4733, allocations: 10.23 kB / 0.5077 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4733, allocations: 3.438 kB / 0.5077 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4733, allocations: 5.312 kB / 0.5077 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.4736, allocations: 71.3 kB / 0.5077 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.4736, allocations: 16.16 kB / 0.5077 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.4739, allocations: 48.45 kB / 0.5078 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.4739, allocations: 13.44 kB / 0.5078 GB, free: 7.852 MB / 382.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.0001285/0.474, allocations: 152.6 kB / 0.508 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.4741, allocations: 33.91 kB / 0.508 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.4752, allocations: 0.7774 MB / 0.5087 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4752, allocations: 6.234 kB / 0.5088 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4752, allocations: 5 kB / 0.5088 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.4752, allocations: 0 / 0.5088 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.4757, allocations: 0.5273 MB / 0.5093 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4757, allocations: 0.9688 kB / 0.5093 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.4759, allocations: 61.19 kB / 0.5093 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4759, allocations: 1.281 kB / 0.5093 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4759, allocations: 1.312 kB / 0.5093 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4759, allocations: 0 / 0.5093 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4759, allocations: 3.938 kB / 0.5093 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.4766, allocations: 478 kB / 0.5098 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.4767, allocations: 189.6 kB / 0.51 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.4768, allocations: 9.344 kB / 0.51 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.477, allocations: 28.56 kB / 0.51 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.4771, allocations: 16.2 kB / 0.51 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4771, allocations: 11.3 kB / 0.51 GB, free: 6.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004267/0.4775, allocations: 338.8 kB / 0.5104 GB, free: 6.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4775, allocations: 5.438 kB / 0.5104 GB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0054/0.4829, allocations: 0.84 MB / 0.5112 GB, free: 5.887 MB / 382.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.006135/0.4891, allocations: 1.903 MB / 0.513 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007486/0.4899, allocations: 300.8 kB / 0.5133 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4899, allocations: 1.375 kB / 0.5133 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.4902, allocations: 175.9 kB / 0.5135 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4912, allocations: 186.4 kB / 0.5137 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006061/0.4973, allocations: 4.305 MB / 0.5179 GB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.4975, allocations: 0.8409 MB / 0.5187 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003394/0.4979, allocations: 141.4 kB / 0.5188 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.4981, allocations: 160.2 kB / 0.519 GB, free: 424 kB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4981, allocations: 0 / 0.519 GB, free: 424 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06877/0.5669, allocations: 38.24 MB / 0.5563 GB, free: 11.84 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.5671, allocations: 266.8 kB / 0.5566 GB, free: 11.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.663/4.23, allocations: 3.938 kB / 0.5566 GB, free: 11.51 MB / 430.1 MB (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 --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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches