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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00238/0.00238, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00267/0.00267, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3663/0.3663, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,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=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.123e-05/4.314e-05, allocations: 9.484 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04475/0.04479, allocations: 30.73 MB / 406 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02444/0.06923, allocations: 15.41 MB / 421.4 MB, free: 6.676 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.06965, allocations: 15.88 kB / 421.4 MB, free: 6.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007698/0.07042, allocations: 202.5 kB / 421.6 MB, free: 6.461 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007446/0.07116, allocations: 286.1 kB / 421.9 MB, free: 6.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01857/0.08973, allocations: 5.661 MB / 427.5 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.09156, allocations: 0.8224 MB / 428.4 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.09201, allocations: 201 kB / 428.6 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01474/0.1067, allocations: 5.61 MB / 434.2 MB, free: 9.773 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.1073, allocations: 219.3 kB / 434.4 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.1073, allocations: 32 kB / 434.4 MB, free: 9.527 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01372/0.1211, allocations: 5.849 MB / 440.3 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1213, allocations: 91.66 kB / 440.4 MB, free: 3.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.1216, allocations: 135.7 kB / 440.5 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.203/0.3246, allocations: 4.647 MB / 445.1 MB, free: 60.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3246, allocations: 7.219 kB / 445.1 MB, free: 60.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3246, allocations: 0 / 445.1 MB, free: 60.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3246, allocations: 2.875 kB / 445.1 MB, free: 60.96 MB / 410.7 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.002246/0.3269, allocations: 1.055 MB / 446.2 MB, free: 60.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3269, allocations: 9.094 kB / 446.2 MB, free: 60.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009594/0.3278, allocations: 173.1 kB / 446.4 MB, free: 60.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.3283, allocations: 294.2 kB / 446.7 MB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.3283, allocations: 27.72 kB / 446.7 MB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.3283, allocations: 24.19 kB / 446.7 MB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.3292, allocations: 0.5971 MB / 447.3 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3292, allocations: 3.219 kB / 447.3 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.3293, allocations: 16.12 kB / 447.3 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3293, allocations: 5.938 kB / 447.3 MB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008183/0.3301, allocations: 328.8 kB / 447.7 MB, free: 59.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.3325, allocations: 2.294 MB / 450 MB, free: 58.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.3333, allocations: 246.9 kB / 450.2 MB, free: 58.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.3335, allocations: 88.48 kB / 450.3 MB, free: 58.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.3338, allocations: 105.2 kB / 450.4 MB, free: 58.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.3338, allocations: 39.86 kB / 450.4 MB, free: 58.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.051e-06/0.3338, allocations: 0 / 450.4 MB, free: 58.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001267/0.335, allocations: 398.8 kB / 450.8 MB, free: 58.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.3351, allocations: 106.4 kB / 450.9 MB, free: 57.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.3353, allocations: 377.3 kB / 451.3 MB, free: 57.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3353, allocations: 32.3 kB / 451.3 MB, free: 57.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.3354, allocations: 276.9 kB / 451.6 MB, free: 57.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.3355, allocations: 42.98 kB / 451.6 MB, free: 57.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.3356, allocations: 75.62 kB / 451.7 MB, free: 57.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3357, allocations: 0.5232 MB / 452.2 MB, free: 56.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3358, allocations: 67.78 kB / 452.3 MB, free: 56.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3361, allocations: 295.9 kB / 452.6 MB, free: 56.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.3365, allocations: 305.2 kB / 452.9 MB, free: 56.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3365, allocations: 1.875 kB / 452.9 MB, free: 56.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005512/0.337, allocations: 293.5 kB / 453.2 MB, free: 56.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.337, allocations: 8.625 kB / 453.2 MB, free: 56.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3371, allocations: 4.094 kB / 453.2 MB, free: 56.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3371, allocations: 5.75 kB / 453.2 MB, free: 56.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.3373, allocations: 58.66 kB / 453.2 MB, free: 56.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3373, allocations: 8.688 kB / 453.3 MB, free: 56.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.3375, allocations: 34.56 kB / 453.3 MB, free: 56.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.3375, allocations: 12.47 kB / 453.3 MB, free: 56.46 MB / 410.7 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.0001467/0.3376, allocations: 203.3 kB / 453.5 MB, free: 56.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.3377, allocations: 30.16 kB / 453.5 MB, free: 56.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.3384, allocations: 0.5538 MB / 454.1 MB, free: 56.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3384, allocations: 9.516 kB / 454.1 MB, free: 56.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3384, allocations: 0 / 454.1 MB, free: 56.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3384, allocations: 0 / 454.1 MB, free: 56.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.3388, allocations: 443.3 kB / 454.5 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3388, allocations: 0 / 454.5 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.339, allocations: 42.53 kB / 454.6 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.339, allocations: 0 / 454.6 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.339, allocations: 0 / 454.6 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.339, allocations: 6.875 kB / 454.6 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.339, allocations: 0 / 454.6 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.3395, allocations: 453 kB / 455 MB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3396, allocations: 33.22 kB / 455 MB, free: 55.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.3396, allocations: 32.77 kB / 455.1 MB, free: 55.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3398, allocations: 12.41 kB / 455.1 MB, free: 55.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.3398, allocations: 15.73 kB / 455.1 MB, free: 55.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3399, allocations: 7.359 kB / 455.1 MB, free: 55.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002769/0.3401, allocations: 361.8 kB / 455.5 MB, free: 55.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3401, allocations: 0 / 455.5 MB, free: 55.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002436/0.3426, allocations: 0.8516 MB / 456.3 MB, free: 55.46 MB / 410.7 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.003434/0.346, allocations: 1.105 MB / 457.4 MB, free: 55.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.3466, allocations: 224.5 kB / 457.6 MB, free: 55.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3466, allocations: 0 / 457.6 MB, free: 55.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.3468, allocations: 117.1 kB / 457.8 MB, free: 55.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.3476, allocations: 169.5 kB / 457.9 MB, free: 55.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3486, allocations: 0.799 MB / 458.7 MB, free: 54.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3487, allocations: 241.8 kB / 459 MB, free: 54.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.349, allocations: 129.3 kB / 459.1 MB, free: 54.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.349, allocations: 34.83 kB / 459.1 MB, free: 54.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.349, allocations: 0 / 459.1 MB, free: 54.73 MB / 410.7 MB Notification: Performance of Templates: time 0.05201/0.401, allocations: 33.89 MB / 493 MB, free: 49.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.471867325017229]