Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001119/0.001119, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001609/0.001609, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 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.182/1.182, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3582/0.3582, allocations: 34.25 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.046e-05/5.347e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02215/0.02221, allocations: 14.37 MB / 392.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.03351, allocations: 11.5 MB / 404.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.0338, allocations: 11.88 kB / 404.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.03433, allocations: 127 kB / 404.5 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.03493, allocations: 294.1 kB / 404.8 MB, free: 8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01422/0.04914, allocations: 5.367 MB / 410.1 MB, free: 2.613 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.05026, allocations: 0.8497 MB / 411 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.05065, allocations: 209.3 kB / 411.2 MB, free: 1.551 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.05386, allocations: 2.209 MB / 413.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.05411, allocations: 207.3 kB / 413.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.05415, allocations: 32 kB / 413.6 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009259/0.06341, allocations: 5.814 MB / 419.5 MB, free: 9.262 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.06358, allocations: 95.59 kB / 419.6 MB, free: 9.168 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.06374, allocations: 135.7 kB / 419.7 MB, free: 9.035 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007185/0.07092, allocations: 4.455 MB / 424.1 MB, free: 4.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/0.07093, allocations: 0 / 424.1 MB, free: 4.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.07094, allocations: 0 / 424.1 MB, free: 4.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.07095, allocations: 4 kB / 424.1 MB, free: 4.566 MB / 394.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.001528/0.07247, allocations: 1.031 MB / 425.2 MB, free: 3.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.07253, allocations: 12.02 kB / 425.2 MB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005823/0.07311, allocations: 168.1 kB / 425.3 MB, free: 3.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.07346, allocations: 295.4 kB / 425.6 MB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.07349, allocations: 24.88 kB / 425.7 MB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.07352, allocations: 24.38 kB / 425.7 MB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.0742, allocations: 0.5744 MB / 426.3 MB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.07421, allocations: 192 / 426.3 MB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.07424, allocations: 19.94 kB / 426.3 MB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.07425, allocations: 8 kB / 426.3 MB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.07461, allocations: 227 kB / 426.5 MB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.07627, allocations: 2.128 MB / 428.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.07675, allocations: 234.8 kB / 428.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.07679, allocations: 35.89 kB / 428.9 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.07697, allocations: 107.8 kB / 429 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.077, allocations: 37.39 kB / 429 MB, free: 15.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.077, allocations: 0 / 429 MB, free: 15.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005948/0.07759, allocations: 321 kB / 429.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.07765, allocations: 106.8 kB / 429.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.07786, allocations: 318.1 kB / 429.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.07788, allocations: 25.7 kB / 429.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.07802, allocations: 270.6 kB / 430.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.07805, allocations: 43.61 kB / 430.1 MB, free: 14.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.07812, allocations: 67.3 kB / 430.2 MB, free: 14.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.07828, allocations: 0.5078 MB / 430.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/0.07833, allocations: 39.89 kB / 430.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.07851, allocations: 265.6 kB / 431 MB, free: 13.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.07871, allocations: 251.1 kB / 431.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.07871, allocations: 0 / 431.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002554/0.07897, allocations: 241.1 kB / 431.5 MB, free: 12.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.07899, allocations: 4 kB / 431.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.07899, allocations: 4 kB / 431.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.07901, allocations: 4 kB / 431.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.07913, allocations: 63.89 kB / 431.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.07914, allocations: 4 kB / 431.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.07922, allocations: 31.83 kB / 431.6 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.07924, allocations: 20.27 kB / 431.6 MB, free: 12.61 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.0001154/0.07935, allocations: 168.5 kB / 431.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.07939, allocations: 35.81 kB / 431.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.07985, allocations: 0.4905 MB / 432.3 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.07986, allocations: 11.98 kB / 432.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.07987, allocations: 0 / 432.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.07987, allocations: 4 kB / 432.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.08013, allocations: 326.6 kB / 432.6 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.08013, allocations: 3.984 kB / 432.6 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-05/0.0802, allocations: 31.98 kB / 432.6 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.08021, allocations: 0 / 432.6 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.08022, allocations: 4 kB / 432.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.08022, allocations: 3.984 kB / 432.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.08022, allocations: 0 / 432.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.08052, allocations: 396 kB / 433 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.08055, allocations: 35.64 kB / 433.1 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.08059, allocations: 27.78 kB / 433.1 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.08067, allocations: 11.98 kB / 433.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.08072, allocations: 23.95 kB / 433.1 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.08073, allocations: 0 / 433.1 MB, free: 11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.0809, allocations: 298.9 kB / 433.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0809, allocations: 0 / 433.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001384/0.08228, allocations: 0.8577 MB / 434.3 MB, free: 9.844 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.002158/0.08444, allocations: 1.11 MB / 435.4 MB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.08466, allocations: 143.3 kB / 435.5 MB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.08466, allocations: 0 / 435.5 MB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/0.08474, allocations: 71.58 kB / 435.6 MB, free: 8.504 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.0852, allocations: 165.5 kB / 435.8 MB, free: 8.348 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.08633, allocations: 0.7696 MB / 436.5 MB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.917e-05/0.08641, allocations: 117.1 kB / 436.7 MB, free: 7.414 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.08658, allocations: 130.8 kB / 436.8 MB, free: 7.285 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.08682, allocations: 202.1 kB / 437 MB, free: 7.086 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.08682, allocations: 0 / 437 MB, free: 7.086 MB / 410.7 MB Notification: Performance of Templates: time 0.2532/0.3401, allocations: 38.26 MB / 475.2 MB, free: 72.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.12600312102586]