Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 177.2 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 85.44 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3495/0.3495, allocations: 43.56 MB / 363.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003692, allocations: 12 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.653/5.777, allocations: 2.754 GB / 3.234 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/5.777, allocations: 87.61 kB / 3.234 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.784/6.561, allocations: 282.1 MB / 3.51 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.744e-06/6.561, allocations: 3.938 kB / 3.51 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.984e-05/6.561, allocations: 11.98 kB / 3.51 GB, free: 38.64 MB / 0.4948 GB 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.00428/6.565, allocations: 1.235 MB / 3.511 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/6.566, allocations: 12.03 kB / 3.511 GB, free: 37.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/6.566, allocations: 120.4 kB / 3.511 GB, free: 37.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/6.567, allocations: 338.5 kB / 3.511 GB, free: 36.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/6.567, allocations: 21.69 kB / 3.511 GB, free: 36.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/6.567, allocations: 24 kB / 3.511 GB, free: 36.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009628/6.568, allocations: 474.9 kB / 3.512 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/6.568, allocations: 0 / 3.512 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/6.568, allocations: 15.94 kB / 3.512 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/6.568, allocations: 8 kB / 3.512 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009387/6.569, allocations: 393.3 kB / 3.512 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/6.571, allocations: 2.36 MB / 3.514 GB, free: 33.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/6.572, allocations: 274.3 kB / 3.515 GB, free: 33.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/6.572, allocations: 96.8 kB / 3.515 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/6.573, allocations: 480.3 kB / 3.515 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/6.573, allocations: 38.55 kB / 3.515 GB, free: 32.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/6.573, allocations: 0 / 3.515 GB, free: 32.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.001449/6.574, allocations: 473.4 kB / 3.516 GB, free: 31.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/6.574, allocations: 102.8 kB / 3.516 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/6.574, allocations: 324.3 kB / 3.516 GB, free: 31.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/6.574, allocations: 33.7 kB / 3.516 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/6.575, allocations: 211.6 kB / 3.516 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/6.575, allocations: 35.47 kB / 3.516 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/6.575, allocations: 4 kB / 3.516 GB, free: 31.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.555e-05/6.575, allocations: 342.8 kB / 3.517 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/6.575, allocations: 84.41 kB / 3.517 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/6.575, allocations: 201.7 kB / 3.517 GB, free: 30.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/6.576, allocations: 290.7 kB / 3.517 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/6.576, allocations: 7.938 kB / 3.517 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006198/6.576, allocations: 320.8 kB / 3.518 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/6.576, allocations: 4 kB / 3.518 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/6.576, allocations: 4 kB / 3.518 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/6.576, allocations: 4 kB / 3.518 GB, free: 29.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/6.577, allocations: 76.36 kB / 3.518 GB, free: 29.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/6.577, allocations: 7.938 kB / 3.518 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/6.577, allocations: 51.59 kB / 3.518 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/6.577, allocations: 16 kB / 3.518 GB, free: 29.64 MB / 0.4948 GB 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_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 initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/6.577, allocations: 161.7 kB / 3.518 GB, free: 29.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/6.577, allocations: 27.62 kB / 3.518 GB, free: 29.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008748/6.578, allocations: 0.7601 MB / 3.519 GB, free: 28.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/6.578, allocations: 7.984 kB / 3.519 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/6.578, allocations: 0 / 3.519 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/6.578, allocations: 11.92 kB / 3.519 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/6.578, allocations: 0.5103 MB / 3.519 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/6.578, allocations: 7.938 kB / 3.519 GB, free: 28.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/6.579, allocations: 59.94 kB / 3.519 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/6.579, allocations: 3.938 kB / 3.519 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/6.579, allocations: 4 kB / 3.519 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/6.579, allocations: 0 / 3.519 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/6.579, allocations: 0 / 3.519 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/6.579, allocations: 477.6 kB / 3.52 GB, free: 27.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/6.579, allocations: 188.2 kB / 3.52 GB, free: 27.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/6.579, allocations: 4 kB / 3.52 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/6.58, allocations: 27.91 kB / 3.52 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/6.58, allocations: 27.84 kB / 3.52 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/6.58, allocations: 4 kB / 3.52 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000279/6.58, allocations: 338.9 kB / 3.52 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.58, allocations: 0 / 3.52 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003936/6.584, allocations: 0.8703 MB / 3.521 GB, free: 26.06 MB / 0.4948 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004733/6.589, allocations: 1.281 MB / 3.522 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006917/6.589, allocations: 275.6 kB / 3.523 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/6.589, allocations: 0.9375 kB / 3.523 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/6.59, allocations: 171.9 kB / 3.523 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/6.591, allocations: 164.4 kB / 3.523 GB, free: 24.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/6.592, allocations: 1.064 MB / 3.524 GB, free: 23.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/6.592, allocations: 0.8388 MB / 3.525 GB, free: 22.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/6.592, allocations: 35.44 kB / 3.525 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/6.592, allocations: 0 / 3.525 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.02556/6.618, allocations: 20.42 MB / 3.545 GB, free: 1.781 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches