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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00214/0.00214, allocations: 180.9 kB / 16.77 MB, free: 5.047 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.677/1.677, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007609/0.000761, allocations: 82.41 kB / 271.3 MB, free: 8.238 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.3899/0.3899, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004213, allocations: 15.98 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1561, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.026/7.183, allocations: 2.754 GB / 3.234 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/7.183, allocations: 86.92 kB / 3.234 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9023/8.085, allocations: 282.1 MB / 3.51 GB, free: 37.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.435e-06/8.085, allocations: 0 / 3.51 GB, free: 37.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.76e-05/8.085, allocations: 12 kB / 3.51 GB, free: 37.58 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.005569/8.091, allocations: 1.235 MB / 3.511 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/8.091, allocations: 8.031 kB / 3.511 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/8.092, allocations: 116.4 kB / 3.511 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/8.093, allocations: 342.5 kB / 3.511 GB, free: 35.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/8.093, allocations: 25.69 kB / 3.511 GB, free: 35.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/8.093, allocations: 28 kB / 3.511 GB, free: 35.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/8.094, allocations: 462.9 kB / 3.512 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/8.094, allocations: 3.938 kB / 3.512 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/8.094, allocations: 16 kB / 3.512 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/8.094, allocations: 8 kB / 3.512 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/8.095, allocations: 393.3 kB / 3.512 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/8.099, allocations: 2.352 MB / 3.514 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/8.1, allocations: 286.3 kB / 3.515 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/8.1, allocations: 84.81 kB / 3.515 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/8.1, allocations: 488.3 kB / 3.515 GB, free: 31.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/8.1, allocations: 38.55 kB / 3.515 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.144e-06/8.1, allocations: 0 / 3.515 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.001459/8.102, allocations: 465 kB / 3.516 GB, free: 30.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/8.102, allocations: 114.8 kB / 3.516 GB, free: 30.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/8.102, allocations: 324.3 kB / 3.516 GB, free: 30.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/8.102, allocations: 25.7 kB / 3.516 GB, free: 30.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/8.102, allocations: 211.6 kB / 3.516 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/8.102, allocations: 35.45 kB / 3.516 GB, free: 30.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/8.102, allocations: 4 kB / 3.516 GB, free: 30.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/8.102, allocations: 338.8 kB / 3.517 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/8.103, allocations: 84.41 kB / 3.517 GB, free: 29.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/8.103, allocations: 213.7 kB / 3.517 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/8.103, allocations: 283.1 kB / 3.517 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/8.103, allocations: 4 kB / 3.517 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006184/8.104, allocations: 328.7 kB / 3.518 GB, free: 28.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/8.104, allocations: 8 kB / 3.518 GB, free: 28.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/8.104, allocations: 8.453 kB / 3.518 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/8.104, allocations: 8 kB / 3.518 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/8.104, allocations: 71.89 kB / 3.518 GB, free: 28.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/8.104, allocations: 4 kB / 3.518 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/8.105, allocations: 55.61 kB / 3.518 GB, free: 28.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/8.105, allocations: 11.98 kB / 3.518 GB, free: 28.59 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.0001458/8.105, allocations: 153.7 kB / 3.518 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/8.105, allocations: 31.62 kB / 3.518 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008951/8.106, allocations: 0.7639 MB / 3.519 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/8.106, allocations: 11.98 kB / 3.519 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/8.106, allocations: 3.938 kB / 3.519 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/8.106, allocations: 3.938 kB / 3.519 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/8.106, allocations: 0.5181 MB / 3.519 GB, free: 27.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/8.106, allocations: 4 kB / 3.519 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/8.107, allocations: 51.95 kB / 3.519 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/8.107, allocations: 0 / 3.519 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/8.107, allocations: 4 kB / 3.519 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/8.107, allocations: 0 / 3.519 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/8.107, allocations: 0 / 3.519 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/8.107, allocations: 477.6 kB / 3.52 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/8.107, allocations: 192.1 kB / 3.52 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/8.107, allocations: 8 kB / 3.52 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/8.108, allocations: 27.92 kB / 3.52 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/8.108, allocations: 23.91 kB / 3.52 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/8.108, allocations: 7.984 kB / 3.52 GB, free: 26.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003009/8.108, allocations: 338.9 kB / 3.52 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.108, allocations: 0 / 3.52 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004265/8.112, allocations: 0.8663 MB / 3.521 GB, free: 25.01 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.006972/8.119, allocations: 1.275 MB / 3.522 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005871/8.12, allocations: 280.5 kB / 3.523 GB, free: 23.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/8.12, allocations: 0 / 3.523 GB, free: 23.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/8.12, allocations: 163.9 kB / 3.523 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/8.121, allocations: 187.3 kB / 3.523 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/8.122, allocations: 1.032 MB / 3.524 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/8.123, allocations: 0.8439 MB / 3.525 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003093/8.123, allocations: 115.9 kB / 3.525 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/8.123, allocations: 31.42 kB / 3.525 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of SimCode: time 3.51e-07/8.123, allocations: 4 kB / 3.525 GB, free: 21.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.3249/8.448, allocations: 29.81 MB / 3.554 GB, free: 65.05 MB / 0.4948 GB 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/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_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches