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.001676/0.001676, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2489/0.2489, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3748, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03214/0.407, allocations: 30.19 MB / 0.56 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02035/0.4274, allocations: 15.54 MB / 0.5752 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.4279, allocations: 11.94 kB / 0.5752 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000726/0.4286, allocations: 218.5 kB / 0.5754 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.4293, allocations: 266.4 kB / 0.5756 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01727/0.4466, allocations: 5.635 MB / 0.5811 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.4477, allocations: 0.8225 MB / 0.5819 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.4481, allocations: 236.7 kB / 0.5822 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0126/0.4607, allocations: 5.485 MB / 0.5875 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.4613, allocations: 235 kB / 0.5877 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/0.4614, allocations: 28 kB / 0.5878 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01187/0.4732, allocations: 6.096 MB / 0.5937 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.4735, allocations: 91.72 kB / 0.5938 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.4738, allocations: 179.2 kB / 0.594 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009103/0.4829, allocations: 3.665 MB / 0.5976 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4829, allocations: 0 / 0.5976 GB, free: 12.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4829, allocations: 0 / 0.5976 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.4829, allocations: 0 / 0.5976 GB, free: 12.86 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.002375/0.4853, allocations: 1.006 MB / 0.5985 GB, free: 11.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4854, allocations: 8.031 kB / 0.5986 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/0.4855, allocations: 66.72 kB / 0.5986 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009879/0.4864, allocations: 120.4 kB / 0.5987 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.487, allocations: 342.5 kB / 0.5991 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.487, allocations: 28.88 kB / 0.5991 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.4871, allocations: 28.12 kB / 0.5991 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.4881, allocations: 454.9 kB / 0.5995 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4882, allocations: 3.938 kB / 0.5996 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.4882, allocations: 12 kB / 0.5996 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4882, allocations: 8 kB / 0.5996 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.4893, allocations: 365.3 kB / 0.5999 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.4923, allocations: 2.376 MB / 0.6022 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000972/0.4933, allocations: 270.3 kB / 0.6025 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.4936, allocations: 96.8 kB / 0.6026 GB, free: 7.352 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/0.494, allocations: 489.4 kB / 0.6031 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.494, allocations: 34.56 kB / 0.6031 GB, free: 6.738 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.494, allocations: 0 / 0.6031 GB, free: 6.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001587/0.4956, allocations: 453 kB / 0.6035 GB, free: 6.289 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.4957, allocations: 114.8 kB / 0.6036 GB, free: 6.152 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.4961, allocations: 324.5 kB / 0.6039 GB, free: 5.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4961, allocations: 25.7 kB / 0.604 GB, free: 5.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.4962, allocations: 215.5 kB / 0.6042 GB, free: 5.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.4963, allocations: 31.47 kB / 0.6042 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.4964, allocations: 57.69 kB / 0.6043 GB, free: 5.484 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4965, allocations: 338.8 kB / 0.6046 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.4967, allocations: 87.92 kB / 0.6047 GB, free: 5.059 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.4971, allocations: 215.3 kB / 0.6049 GB, free: 4.793 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.4976, allocations: 273.5 kB / 0.6051 GB, free: 4.477 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4976, allocations: 3.938 kB / 0.6051 GB, free: 4.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006735/0.4983, allocations: 317.3 kB / 0.6054 GB, free: 4.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4983, allocations: 8 kB / 0.6054 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4983, allocations: 7.938 kB / 0.6054 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4984, allocations: 4 kB / 0.6055 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.4986, allocations: 71.81 kB / 0.6055 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.4987, allocations: 8 kB / 0.6055 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.4989, allocations: 39.67 kB / 0.6056 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.4989, allocations: 15.98 kB / 0.6056 GB, free: 4.004 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.0001536/0.4991, allocations: 149.8 kB / 0.6057 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.4992, allocations: 31.62 kB / 0.6058 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.5002, allocations: 0.7494 MB / 0.6065 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5003, allocations: 7.922 kB / 0.6065 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5003, allocations: 0 / 0.6065 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5003, allocations: 4 kB / 0.6065 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.5008, allocations: 0.5375 MB / 0.607 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5009, allocations: 0 / 0.607 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.501, allocations: 39.95 kB / 0.6071 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.5011, allocations: 8 kB / 0.6071 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5011, allocations: 0 / 0.6071 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.5011, allocations: 3.938 kB / 0.6071 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5011, allocations: 0 / 0.6071 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.5018, allocations: 469.6 kB / 0.6075 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.5019, allocations: 112.6 kB / 0.6076 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.502, allocations: 23.69 kB / 0.6077 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.5022, allocations: 19.92 kB / 0.6077 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.5023, allocations: 19.97 kB / 0.6077 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.5023, allocations: 4 kB / 0.6077 GB, free: 1.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003782/0.5027, allocations: 338.9 kB / 0.608 GB, free: 1.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5027, allocations: 0 / 0.608 GB, free: 1.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002402/0.5051, allocations: 0.851 MB / 0.6088 GB, free: 0.5547 MB / 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.00541/0.5105, allocations: 1.9 MB / 0.6107 GB, free: 14.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.5112, allocations: 272.6 kB / 0.611 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5113, allocations: 0 / 0.611 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.5115, allocations: 163.9 kB / 0.6111 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.5125, allocations: 192.9 kB / 0.6113 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/0.5187, allocations: 3.998 MB / 0.6152 GB, free: 9.859 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.5191, allocations: 0.8422 MB / 0.616 GB, free: 8.988 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003411/0.5195, allocations: 154.1 kB / 0.6162 GB, free: 8.844 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.5197, allocations: 159.4 kB / 0.6163 GB, free: 8.688 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5197, allocations: 0 / 0.6163 GB, free: 8.688 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07701/0.5968, allocations: 39.21 MB / 0.6546 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.78, allocations: 15.75 kB / 0.6546 GB, free: 1.605 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