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.00168/0.001681, allocations: 117.1 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002529/0.002529, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.08 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 79.88 kB / 480.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3471, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0337/0.3809, allocations: 30.19 MB / 0.56 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4001, allocations: 15.54 MB / 0.5752 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005978/0.4008, allocations: 11.94 kB / 0.5752 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000925/0.4018, allocations: 214.6 kB / 0.5754 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008746/0.4027, allocations: 266.4 kB / 0.5756 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01874/0.4214, allocations: 5.641 MB / 0.5811 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.4228, allocations: 0.8225 MB / 0.5819 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005394/0.4233, allocations: 228.8 kB / 0.5822 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/0.4358, allocations: 5.485 MB / 0.5875 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.4364, allocations: 231 kB / 0.5877 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.4365, allocations: 32 kB / 0.5878 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/0.4497, allocations: 6.107 MB / 0.5937 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.4499, allocations: 79.75 kB / 0.5938 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.4502, allocations: 191.1 kB / 0.594 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007878/0.4581, allocations: 3.661 MB / 0.5976 GB, free: 12.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4582, allocations: 0 / 0.5976 GB, free: 12.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4582, allocations: 0 / 0.5976 GB, free: 12.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.4582, allocations: 0 / 0.5976 GB, free: 12.91 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.002682/0.4609, allocations: 1.006 MB / 0.5985 GB, free: 11.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.461, allocations: 8.031 kB / 0.5986 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.728e-05/0.4611, allocations: 62.73 kB / 0.5986 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.4621, allocations: 120.4 kB / 0.5987 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.4627, allocations: 350.5 kB / 0.5991 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.4627, allocations: 20.94 kB / 0.5991 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.4628, allocations: 28.12 kB / 0.5991 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.4639, allocations: 454.9 kB / 0.5995 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.4639, allocations: 7.922 kB / 0.5996 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.4639, allocations: 12 kB / 0.5996 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.464, allocations: 8 kB / 0.5996 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.4651, allocations: 369.3 kB / 0.5999 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/0.4686, allocations: 2.379 MB / 0.6022 GB, free: 7.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/0.4696, allocations: 266.3 kB / 0.6025 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.4699, allocations: 100.8 kB / 0.6026 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/0.4703, allocations: 485.5 kB / 0.6031 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.4703, allocations: 30.56 kB / 0.6031 GB, free: 6.793 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.244e-06/0.4704, allocations: 0 / 0.6031 GB, free: 6.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001728/0.4721, allocations: 453 kB / 0.6035 GB, free: 6.344 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.4722, allocations: 114.8 kB / 0.6036 GB, free: 6.207 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.4726, allocations: 320.5 kB / 0.6039 GB, free: 5.883 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.4726, allocations: 29.7 kB / 0.604 GB, free: 5.848 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.4728, allocations: 211.5 kB / 0.6042 GB, free: 5.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.4728, allocations: 43.44 kB / 0.6042 GB, free: 5.594 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-05/0.4729, allocations: 49.7 kB / 0.6043 GB, free: 5.539 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.473, allocations: 346.8 kB / 0.6046 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.4733, allocations: 83.94 kB / 0.6047 GB, free: 5.109 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.4736, allocations: 211.3 kB / 0.6049 GB, free: 4.848 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/0.4742, allocations: 277.4 kB / 0.6051 GB, free: 4.527 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4742, allocations: 0 / 0.6051 GB, free: 4.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007321/0.4749, allocations: 317.3 kB / 0.6054 GB, free: 4.211 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.475, allocations: 12 kB / 0.6054 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.475, allocations: 7.938 kB / 0.6055 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.475, allocations: 4 kB / 0.6055 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.4753, allocations: 67.83 kB / 0.6055 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4753, allocations: 8 kB / 0.6055 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.4756, allocations: 43.66 kB / 0.6056 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.4756, allocations: 12 kB / 0.6056 GB, free: 4.059 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.0001659/0.4758, allocations: 153.8 kB / 0.6057 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.4758, allocations: 31.62 kB / 0.6058 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.477, allocations: 0.7417 MB / 0.6065 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.477, allocations: 7.922 kB / 0.6065 GB, free: 3.109 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.477, allocations: 4 kB / 0.6065 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.477, allocations: 0 / 0.6065 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.4776, allocations: 0.5336 MB / 0.607 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.4776, allocations: 0 / 0.607 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.4778, allocations: 47.95 kB / 0.6071 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.4778, allocations: 4 kB / 0.6071 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.4778, allocations: 4 kB / 0.6071 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4778, allocations: 3.938 kB / 0.6071 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4778, allocations: 0 / 0.6071 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/0.4786, allocations: 465.6 kB / 0.6075 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.4787, allocations: 116.6 kB / 0.6076 GB, free: 1.859 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.4788, allocations: 23.69 kB / 0.6077 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.479, allocations: 23.91 kB / 0.6077 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.4791, allocations: 15.97 kB / 0.6077 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.4791, allocations: 8 kB / 0.6077 GB, free: 1.789 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.4795, allocations: 342.8 kB / 0.608 GB, free: 1.453 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4795, allocations: 3.938 kB / 0.608 GB, free: 1.449 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002494/0.482, allocations: 0.8471 MB / 0.6089 GB, free: 0.6016 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.005021/0.487, allocations: 1.891 MB / 0.6107 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000754/0.4878, allocations: 272.6 kB / 0.611 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4878, allocations: 0 / 0.611 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.4881, allocations: 163.9 kB / 0.6111 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.4892, allocations: 202.5 kB / 0.6113 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/0.4956, allocations: 3.998 MB / 0.6152 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.496, allocations: 0.8422 MB / 0.616 GB, free: 9.035 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.4964, allocations: 150 kB / 0.6162 GB, free: 8.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.4966, allocations: 155.4 kB / 0.6163 GB, free: 8.742 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4966, allocations: 0 / 0.6163 GB, free: 8.742 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06871/0.5653, allocations: 39.2 MB / 0.6546 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.976/10.54, allocations: 15.75 kB / 0.6546 GB, free: 1.66 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