Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009992, allocations: 95.47 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.16 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.475e-05/1.478e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1326, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.919/7.052, allocations: 2.758 GB / 3.253 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/7.052, allocations: 85.22 kB / 3.253 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.364/8.416, allocations: 291.5 MB / 3.538 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.394e-06/8.416, allocations: 3.906 kB / 3.538 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.334e-05/8.416, allocations: 9.688 kB / 3.538 GB, free: 85.16 MB / 0.5105 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.007108/8.424, allocations: 1.198 MB / 3.539 GB, free: 84.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/8.424, allocations: 18.17 kB / 3.539 GB, free: 84.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/8.425, allocations: 124.3 kB / 3.539 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/8.426, allocations: 331.2 kB / 3.539 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/8.426, allocations: 12.12 kB / 3.539 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/8.426, allocations: 13.97 kB / 3.539 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006223/8.427, allocations: 210.5 kB / 3.54 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/8.428, allocations: 305.6 kB / 3.54 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/8.428, allocations: 11.84 kB / 3.54 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/8.428, allocations: 0 / 3.54 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/8.428, allocations: 7.062 kB / 3.54 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/8.432, allocations: 2.299 MB / 3.542 GB, free: 81.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/8.432, allocations: 122.9 kB / 3.542 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/8.432, allocations: 53.92 kB / 3.542 GB, free: 81.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005618/8.433, allocations: 480.3 kB / 3.543 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/8.433, allocations: 33.62 kB / 3.543 GB, free: 81.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.495e-06/8.433, allocations: 3.875 kB / 3.543 GB, free: 81.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.001414/8.434, allocations: 252 kB / 3.543 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/8.434, allocations: 102.8 kB / 3.543 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/8.435, allocations: 226 kB / 3.543 GB, free: 81.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/8.435, allocations: 33.02 kB / 3.543 GB, free: 80.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/8.435, allocations: 214.1 kB / 3.544 GB, free: 80.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/8.435, allocations: 38.44 kB / 3.544 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/8.435, allocations: 0 / 3.544 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001106/8.435, allocations: 337.9 kB / 3.544 GB, free: 80.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/8.435, allocations: 41.59 kB / 3.544 GB, free: 80.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/8.435, allocations: 156.4 kB / 3.544 GB, free: 80.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/8.436, allocations: 85.16 kB / 3.544 GB, free: 80.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/8.436, allocations: 0 / 3.544 GB, free: 80.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007212/8.437, allocations: 230.2 kB / 3.545 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/8.437, allocations: 7.188 kB / 3.545 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/8.437, allocations: 7.562 kB / 3.545 GB, free: 80.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/8.437, allocations: 6.719 kB / 3.545 GB, free: 80.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/8.437, allocations: 70.48 kB / 3.545 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/8.437, allocations: 7.219 kB / 3.545 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/8.438, allocations: 43.83 kB / 3.545 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/8.438, allocations: 21.52 kB / 3.545 GB, free: 80.12 MB / 0.5105 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 () * 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.0001009/8.438, allocations: 114.4 kB / 3.545 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/8.438, allocations: 22.06 kB / 3.545 GB, free: 80 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/8.439, allocations: 0.6904 MB / 3.545 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/8.439, allocations: 11.14 kB / 3.545 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/8.439, allocations: 0 / 3.545 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/8.439, allocations: 3.656 kB / 3.545 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/8.44, allocations: 484.4 kB / 3.546 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/8.44, allocations: 0 / 3.546 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/8.44, allocations: 53.8 kB / 3.546 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/8.44, allocations: 0 / 3.546 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/8.44, allocations: 3.844 kB / 3.546 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/8.44, allocations: 3.938 kB / 3.546 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/8.44, allocations: 0 / 3.546 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/8.441, allocations: 402.5 kB / 3.546 GB, free: 79.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/8.441, allocations: 181.4 kB / 3.547 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/8.441, allocations: 0 / 3.547 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/8.441, allocations: 28.67 kB / 3.547 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/8.441, allocations: 24.84 kB / 3.547 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/8.441, allocations: 3.812 kB / 3.547 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003808/8.442, allocations: 279.2 kB / 3.547 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/8.442, allocations: 0 / 3.547 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005743/8.448, allocations: 0.8491 MB / 3.548 GB, free: 78.59 MB / 0.5105 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 () * 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.00914/8.457, allocations: 1.369 MB / 3.549 GB, free: 78.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00068/8.457, allocations: 182.7 kB / 3.549 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/8.458, allocations: 0 / 3.549 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/8.458, allocations: 128 kB / 3.549 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/8.459, allocations: 126.9 kB / 3.549 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/8.46, allocations: 0.5405 MB / 3.55 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/8.461, allocations: 0.8513 MB / 3.551 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000453/8.461, allocations: 122.5 kB / 3.551 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/8.461, allocations: 27.28 kB / 3.551 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of SimCode: time 2.364e-06/8.461, allocations: 0 / 3.551 GB, free: 77.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.05672/8.518, allocations: 23.9 MB / 3.574 GB, free: 76.15 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches