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.001017/0.001017, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 242.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.000912, allocations: 97.33 kB / 293.3 MB, free: 10.77 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.3615/0.3615, allocations: 44.15 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4269, allocations: 61.88 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.466/6.893, allocations: 2.759 GB / 3.27 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/6.893, allocations: 91.94 kB / 3.27 GB, free: 99.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9202/7.813, allocations: 285.1 MB / 3.549 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.845e-06/7.813, allocations: 3.938 kB / 3.549 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.27e-05/7.813, allocations: 8 kB / 3.549 GB, free: 28.03 MB / 0.5261 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.005024/7.818, allocations: 1.243 MB / 3.55 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/7.818, allocations: 11.97 kB / 3.55 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/7.819, allocations: 124.4 kB / 3.55 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/7.82, allocations: 330.6 kB / 3.55 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/7.82, allocations: 25.67 kB / 3.55 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/7.82, allocations: 24 kB / 3.55 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/7.821, allocations: 464.1 kB / 3.551 GB, free: 25.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/7.821, allocations: 4 kB / 3.551 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/7.821, allocations: 12 kB / 3.551 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/7.821, allocations: 7.984 kB / 3.551 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009949/7.822, allocations: 405.2 kB / 3.551 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/7.825, allocations: 2.36 MB / 3.554 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/7.826, allocations: 282.3 kB / 3.554 GB, free: 22.42 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/7.826, allocations: 96.8 kB / 3.554 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/7.826, allocations: 473.5 kB / 3.554 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/7.826, allocations: 34.56 kB / 3.554 GB, free: 21.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/7.826, allocations: 0 / 3.554 GB, free: 21.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001472/7.828, allocations: 469.4 kB / 3.555 GB, free: 21.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/7.828, allocations: 106.8 kB / 3.555 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/7.828, allocations: 324.3 kB / 3.555 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/7.828, allocations: 29.7 kB / 3.555 GB, free: 20.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/7.828, allocations: 207.6 kB / 3.555 GB, free: 20.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/7.828, allocations: 39.45 kB / 3.556 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/7.828, allocations: 11.94 kB / 3.556 GB, free: 20.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/7.828, allocations: 342.8 kB / 3.556 GB, free: 20.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/7.829, allocations: 79.94 kB / 3.556 GB, free: 20.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/7.829, allocations: 203.4 kB / 3.556 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/7.829, allocations: 293.5 kB / 3.556 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/7.829, allocations: 0 / 3.556 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006198/7.83, allocations: 317.1 kB / 3.557 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/7.83, allocations: 8 kB / 3.557 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/7.83, allocations: 4 kB / 3.557 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/7.83, allocations: 4 kB / 3.557 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/7.83, allocations: 71.89 kB / 3.557 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/7.83, allocations: 4 kB / 3.557 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/7.831, allocations: 63.69 kB / 3.557 GB, free: 19.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/7.831, allocations: 16 kB / 3.557 GB, free: 19.02 MB / 0.5261 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.0001613/7.831, allocations: 157.6 kB / 3.557 GB, free: 18.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/7.831, allocations: 31.62 kB / 3.557 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009216/7.832, allocations: 0.764 MB / 3.558 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/7.832, allocations: 7.984 kB / 3.558 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/7.832, allocations: 4 kB / 3.558 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/7.832, allocations: 3.938 kB / 3.558 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/7.832, allocations: 0.522 MB / 3.558 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/7.832, allocations: 0 / 3.558 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/7.833, allocations: 55.83 kB / 3.558 GB, free: 17.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/7.833, allocations: 7.984 kB / 3.558 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/7.833, allocations: 8 kB / 3.558 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/7.833, allocations: 0 / 3.558 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/7.833, allocations: 0 / 3.558 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/7.833, allocations: 466.3 kB / 3.559 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/7.833, allocations: 180.2 kB / 3.559 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/7.833, allocations: 4 kB / 3.559 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/7.834, allocations: 35.91 kB / 3.559 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/7.834, allocations: 19.91 kB / 3.559 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/7.834, allocations: 11.98 kB / 3.559 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002854/7.834, allocations: 334.9 kB / 3.559 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/7.834, allocations: 0 / 3.559 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004061/7.838, allocations: 0.8664 MB / 3.56 GB, free: 15.45 MB / 0.5261 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.008489/7.847, allocations: 1.297 MB / 3.562 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007867/7.847, allocations: 264.6 kB / 3.562 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/7.847, allocations: 0 / 3.562 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/7.848, allocations: 171.9 kB / 3.562 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/7.849, allocations: 162.8 kB / 3.562 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/7.85, allocations: 1.029 MB / 3.563 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/7.851, allocations: 0.8427 MB / 3.564 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003746/7.851, allocations: 133.3 kB / 3.564 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/7.851, allocations: 27.44 kB / 3.564 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of SimCode: time 3.8e-07/7.851, allocations: 0 / 3.564 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.338/8.189, allocations: 29.85 MB / 3.593 GB, free: 71.16 MB / 0.5261 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/jenkins1/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