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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 103.3 kB / 16.02 MB, free: 76 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.0009837/0.0009842, allocations: 185.5 kB / 16.92 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.964/1.964, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.424/0.424, allocations: 43.58 MB / 315 MB, free: 8.688 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.0005292/0.0005298, allocations: 12.56 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1584, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3692/0.5277, allocations: 30.16 MB / 473.6 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02085/0.5486, allocations: 16.2 MB / 489.8 MB, free: 22.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.5494, allocations: 14.03 kB / 489.8 MB, free: 22.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009342/0.5504, allocations: 192.2 kB / 490 MB, free: 21.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.5514, allocations: 244.7 kB / 490.3 MB, free: 21.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01829/0.5698, allocations: 4.519 MB / 494.8 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.5714, allocations: 1.093 MB / 495.9 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005561/0.572, allocations: 185.3 kB / 496.1 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01255/0.5846, allocations: 5.392 MB / 0.4897 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006909/0.5853, allocations: 235.9 kB / 0.4899 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.5854, allocations: 15 kB / 0.4899 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01879/0.6042, allocations: 6.004 MB / 0.4958 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.6045, allocations: 68.53 kB / 0.4959 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000424/0.605, allocations: 190.9 kB / 0.496 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.6211, allocations: 3.628 MB / 0.4996 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.6211, allocations: 0 / 0.4996 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.6211, allocations: 0 / 0.4996 GB, free: 14.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.582e-05/0.6212, allocations: 0 / 0.4996 GB, free: 14.09 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.006093/0.6273, allocations: 0.9365 MB / 0.5005 GB, free: 13.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.6273, allocations: 9.031 kB / 0.5005 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.6285, allocations: 119.1 kB / 0.5006 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.6291, allocations: 327 kB / 0.5009 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.6292, allocations: 20.66 kB / 0.501 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.6292, allocations: 24.94 kB / 0.501 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.6306, allocations: 474.6 kB / 0.5014 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6306, allocations: 3.938 kB / 0.5014 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.6307, allocations: 12.16 kB / 0.5014 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.6307, allocations: 7.688 kB / 0.5014 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.632, allocations: 402 kB / 0.5018 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.6355, allocations: 2.406 MB / 0.5042 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.6366, allocations: 300.8 kB / 0.5045 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.6369, allocations: 108.2 kB / 0.5046 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004001/0.6373, allocations: 480.1 kB / 0.505 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.6374, allocations: 44.56 kB / 0.5051 GB, free: 9.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/0.6374, allocations: 0 / 0.5051 GB, free: 9.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001813/0.6392, allocations: 495.9 kB / 0.5055 GB, free: 9.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.6393, allocations: 106.8 kB / 0.5056 GB, free: 9.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.6397, allocations: 335 kB / 0.506 GB, free: 9.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.6397, allocations: 26.77 kB / 0.506 GB, free: 8.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.6398, allocations: 210.3 kB / 0.5062 GB, free: 8.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.6399, allocations: 36.73 kB / 0.5062 GB, free: 8.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.6399, allocations: 28.86 kB / 0.5063 GB, free: 8.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.64, allocations: 337.9 kB / 0.5066 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.6403, allocations: 94.16 kB / 0.5067 GB, free: 8.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.6407, allocations: 218.2 kB / 0.5069 GB, free: 8.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.6414, allocations: 301.2 kB / 0.5072 GB, free: 7.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6414, allocations: 1.031 kB / 0.5072 GB, free: 7.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008398/0.6422, allocations: 346.5 kB / 0.5075 GB, free: 7.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.6423, allocations: 6.844 kB / 0.5075 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6423, allocations: 3.375 kB / 0.5075 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.6423, allocations: 10.2 kB / 0.5075 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.6426, allocations: 66.34 kB / 0.5076 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.6426, allocations: 12.86 kB / 0.5076 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.643, allocations: 47.73 kB / 0.5076 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.643, allocations: 18.22 kB / 0.5077 GB, free: 7.688 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.0001875/0.6432, allocations: 160 kB / 0.5078 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.6433, allocations: 30.47 kB / 0.5078 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.6447, allocations: 0.7724 MB / 0.5086 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.6447, allocations: 6.281 kB / 0.5086 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6447, allocations: 3.938 kB / 0.5086 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6447, allocations: 5.516 kB / 0.5086 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000723/0.6455, allocations: 0.5232 MB / 0.5091 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6455, allocations: 0 / 0.5091 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.6457, allocations: 53.67 kB / 0.5092 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.6457, allocations: 1.562 kB / 0.5092 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.6457, allocations: 7.984 kB / 0.5092 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6458, allocations: 0.875 kB / 0.5092 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.6458, allocations: 16.88 kB / 0.5092 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.6466, allocations: 484.7 kB / 0.5097 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.6468, allocations: 185 kB / 0.5098 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.6469, allocations: 6.531 kB / 0.5098 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.6472, allocations: 23.39 kB / 0.5099 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.6473, allocations: 28.28 kB / 0.5099 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.6473, allocations: 7.797 kB / 0.5099 GB, free: 6.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004341/0.6477, allocations: 339.3 kB / 0.5102 GB, free: 5.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6477, allocations: 0 / 0.5102 GB, free: 5.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005902/0.6536, allocations: 0.8327 MB / 0.511 GB, free: 5.723 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.009441/0.6631, allocations: 0.9888 MB / 0.512 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009412/0.6641, allocations: 299.2 kB / 0.5123 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.6641, allocations: 0.75 kB / 0.5123 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.6645, allocations: 181.3 kB / 0.5125 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.6659, allocations: 170.2 kB / 0.5126 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.6678, allocations: 1.044 MB / 0.5136 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.6681, allocations: 0.8429 MB / 0.5145 GB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004545/0.6686, allocations: 141.3 kB / 0.5146 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.6687, allocations: 32.05 kB / 0.5146 GB, free: 3.426 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6687, allocations: 0 / 0.5146 GB, free: 3.426 MB / 382.1 MB Notification: Performance of Templates: time 0.05427/0.723, allocations: 33.37 MB / 0.5472 GB, free: 5.129 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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