Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.1 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 71.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2986, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03568/0.3343, allocations: 30.18 MB / 0.5601 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.3542, allocations: 15.55 MB / 0.5753 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004507/0.3547, allocations: 15.88 kB / 0.5753 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.3554, allocations: 206.6 kB / 0.5755 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006105/0.356, allocations: 274.4 kB / 0.5758 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01558/0.3716, allocations: 5.64 MB / 0.5813 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.3729, allocations: 0.8109 MB / 0.582 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.3733, allocations: 232.8 kB / 0.5823 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01315/0.3865, allocations: 5.481 MB / 0.5876 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.387, allocations: 235 kB / 0.5878 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.544e-05/0.387, allocations: 28 kB / 0.5879 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/0.3992, allocations: 6.099 MB / 0.5938 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3994, allocations: 79.75 kB / 0.5939 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.3997, allocations: 199.1 kB / 0.5941 GB, free: 476 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008179/0.4079, allocations: 3.675 MB / 0.5977 GB, free: 12.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4079, allocations: 4 kB / 0.5977 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4079, allocations: 0 / 0.5977 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.4079, allocations: 0 / 0.5977 GB, free: 12.77 MB / 462.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.002435/0.4104, allocations: 1.022 MB / 0.5987 GB, free: 11.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4104, allocations: 12.03 kB / 0.5987 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.975e-05/0.4105, allocations: 62.73 kB / 0.5988 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4115, allocations: 124.5 kB / 0.5989 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005603/0.4121, allocations: 342.8 kB / 0.5992 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.4121, allocations: 20.94 kB / 0.5992 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.4122, allocations: 28.12 kB / 0.5993 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.4133, allocations: 458.9 kB / 0.5997 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4134, allocations: 4 kB / 0.5997 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.4134, allocations: 12 kB / 0.5997 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4134, allocations: 4 kB / 0.5997 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.4145, allocations: 369.3 kB / 0.6001 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.4178, allocations: 2.384 MB / 0.6024 GB, free: 7.609 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4189, allocations: 278.3 kB / 0.6027 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.4191, allocations: 88.8 kB / 0.6027 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/0.4196, allocations: 485.5 kB / 0.6032 GB, free: 6.672 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4197, allocations: 38.5 kB / 0.6032 GB, free: 6.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.4197, allocations: 0 / 0.6032 GB, free: 6.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001764/0.4214, allocations: 453.3 kB / 0.6037 GB, free: 6.176 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.4215, allocations: 110.7 kB / 0.6038 GB, free: 6.043 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.4219, allocations: 320.5 kB / 0.6041 GB, free: 5.719 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.422, allocations: 29.7 kB / 0.6041 GB, free: 5.684 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.4221, allocations: 220 kB / 0.6043 GB, free: 5.465 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.4222, allocations: 39.69 kB / 0.6044 GB, free: 5.426 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4223, allocations: 61.64 kB / 0.6044 GB, free: 5.359 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4225, allocations: 334.8 kB / 0.6047 GB, free: 5.023 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.4228, allocations: 87.94 kB / 0.6048 GB, free: 4.938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.4232, allocations: 207.3 kB / 0.605 GB, free: 4.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.4238, allocations: 273.5 kB / 0.6053 GB, free: 4.363 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.4239, allocations: 4 kB / 0.6053 GB, free: 4.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008221/0.4247, allocations: 320.9 kB / 0.6056 GB, free: 4.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4247, allocations: 10.19 kB / 0.6056 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4247, allocations: 11.92 kB / 0.6056 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4248, allocations: 4.469 kB / 0.6056 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.425, allocations: 71.84 kB / 0.6057 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.4251, allocations: 7.984 kB / 0.6057 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.4253, allocations: 43.72 kB / 0.6057 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.4254, allocations: 12 kB / 0.6057 GB, free: 3.883 MB / 462.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.0002041/0.4256, allocations: 153.7 kB / 0.6059 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.4257, allocations: 31.81 kB / 0.6059 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.427, allocations: 0.746 MB / 0.6066 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.427, allocations: 7.938 kB / 0.6067 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.427, allocations: 0 / 0.6067 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.427, allocations: 7.984 kB / 0.6067 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/0.4277, allocations: 0.53 MB / 0.6072 GB, free: 2.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4277, allocations: 3.938 kB / 0.6072 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.4279, allocations: 43.95 kB / 0.6072 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4279, allocations: 0 / 0.6072 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.428, allocations: 3.984 kB / 0.6072 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.428, allocations: 7.938 kB / 0.6072 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.428, allocations: 0 / 0.6072 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/0.4288, allocations: 465.9 kB / 0.6077 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4289, allocations: 124.7 kB / 0.6078 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.429, allocations: 19.8 kB / 0.6078 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.4292, allocations: 23.92 kB / 0.6078 GB, free: 1.629 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.4293, allocations: 15.97 kB / 0.6079 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.4293, allocations: 8 kB / 0.6079 GB, free: 1.605 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004005/0.4297, allocations: 346.8 kB / 0.6082 GB, free: 1.266 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4297, allocations: 0 / 0.6082 GB, free: 1.266 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002322/0.432, allocations: 0.8538 MB / 0.609 GB, free: 420 kB / 462.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.004684/0.4367, allocations: 1.899 MB / 0.6109 GB, free: 14.49 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007563/0.4375, allocations: 283.6 kB / 0.6112 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4375, allocations: 0 / 0.6112 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.4379, allocations: 165.6 kB / 0.6113 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009856/0.4388, allocations: 190 kB / 0.6115 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.4452, allocations: 4.024 MB / 0.6154 GB, free: 9.676 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.4458, allocations: 0.8461 MB / 0.6163 GB, free: 8.801 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003502/0.4461, allocations: 142.8 kB / 0.6164 GB, free: 8.664 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.4464, allocations: 159.4 kB / 0.6165 GB, free: 8.508 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4464, allocations: 4 kB / 0.6165 GB, free: 8.504 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07469/0.5211, allocations: 39.06 MB / 0.6547 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.07, allocations: 12.56 kB / 0.6547 GB, free: 1.57 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches