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.001328/0.001328, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001458/0.001458, allocations: 212.2 kB / 24.48 MB, free: 3.977 MB / 14.72 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2387/0.2387, allocations: 46.98 MB / 361.6 MB, free: 4.031 MB / 286.1 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 0.001975/0.001975, allocations: 67.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3729, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03405/0.407, allocations: 27.68 MB / 0.5889 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.4266, allocations: 13.83 MB / 0.6024 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004238/0.427, allocations: 15.88 kB / 0.6024 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000798/0.4278, allocations: 202.6 kB / 0.6026 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007168/0.4285, allocations: 274.4 kB / 0.6028 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01764/0.4461, allocations: 5.591 MB / 0.6083 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.4476, allocations: 0.8342 MB / 0.6091 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.448, allocations: 197 kB / 0.6093 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/0.4598, allocations: 5.497 MB / 0.6147 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.4603, allocations: 247 kB / 0.6149 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.788e-05/0.4604, allocations: 28 kB / 0.6149 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.4722, allocations: 6.072 MB / 0.6209 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.4724, allocations: 91.67 kB / 0.6209 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.4727, allocations: 159.3 kB / 0.6211 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009871/0.4826, allocations: 3.679 MB / 0.6247 GB, free: 3.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4826, allocations: 0 / 0.6247 GB, free: 3.535 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4826, allocations: 0 / 0.6247 GB, free: 3.535 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.4826, allocations: 0 / 0.6247 GB, free: 3.535 MB / 462.1 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.002778/0.4854, allocations: 0.947 MB / 0.6256 GB, free: 2.555 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4854, allocations: 12.03 kB / 0.6256 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.4864, allocations: 128.5 kB / 0.6257 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.487, allocations: 276.9 kB / 0.626 GB, free: 2.121 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.487, allocations: 28.88 kB / 0.626 GB, free: 2.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.4871, allocations: 24.38 kB / 0.6261 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4884, allocations: 0.594 MB / 0.6266 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4884, allocations: 7.984 kB / 0.6266 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.4884, allocations: 15.94 kB / 0.6267 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.4884, allocations: 4 kB / 0.6267 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.4895, allocations: 365.3 kB / 0.627 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.4924, allocations: 1.727 MB / 0.6287 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.4935, allocations: 266.3 kB / 0.629 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.4938, allocations: 92.95 kB / 0.629 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.4941, allocations: 111.8 kB / 0.6292 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.4941, allocations: 34.5 kB / 0.6292 GB, free: 14.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.934e-06/0.4941, allocations: 0 / 0.6292 GB, free: 14.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001764/0.4959, allocations: 441.2 kB / 0.6296 GB, free: 14.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.4959, allocations: 102.8 kB / 0.6297 GB, free: 14.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.4963, allocations: 292 kB / 0.63 GB, free: 13.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.4963, allocations: 25.7 kB / 0.63 GB, free: 13.81 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.4965, allocations: 219.9 kB / 0.6302 GB, free: 13.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.4965, allocations: 43.61 kB / 0.6303 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.4966, allocations: 65.64 kB / 0.6303 GB, free: 13.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4968, allocations: 330.8 kB / 0.6306 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.4971, allocations: 79.94 kB / 0.6307 GB, free: 13.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.4975, allocations: 262.7 kB / 0.631 GB, free: 12.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.4981, allocations: 277.5 kB / 0.6312 GB, free: 12.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4981, allocations: 0 / 0.6312 GB, free: 12.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007553/0.4989, allocations: 321.3 kB / 0.6315 GB, free: 12.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.4989, allocations: 8 kB / 0.6315 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4989, allocations: 4 kB / 0.6315 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.4989, allocations: 4 kB / 0.6315 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.4992, allocations: 59.89 kB / 0.6316 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4992, allocations: 8 kB / 0.6316 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.4994, allocations: 47.69 kB / 0.6317 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.4995, allocations: 16.12 kB / 0.6317 GB, free: 11.96 MB / 478.1 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.0001878/0.4997, allocations: 153.8 kB / 0.6318 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.4997, allocations: 23.86 kB / 0.6318 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.5009, allocations: 0.7634 MB / 0.6326 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.5009, allocations: 11.98 kB / 0.6326 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5009, allocations: 0 / 0.6326 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.501, allocations: 3.938 kB / 0.6326 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.5015, allocations: 430.4 kB / 0.633 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5015, allocations: 7.984 kB / 0.633 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.5017, allocations: 47.94 kB / 0.6331 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5017, allocations: 0 / 0.6331 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.5017, allocations: 4 kB / 0.6331 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5017, allocations: 4 kB / 0.6331 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5017, allocations: 0 / 0.6331 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.5025, allocations: 470.6 kB / 0.6335 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.5026, allocations: 35.7 kB / 0.6336 GB, free: 9.953 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.5026, allocations: 23.78 kB / 0.6336 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.5028, allocations: 19.98 kB / 0.6336 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.5029, allocations: 19.95 kB / 0.6336 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.5029, allocations: 4 kB / 0.6336 GB, free: 9.887 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003431/0.5033, allocations: 315 kB / 0.6339 GB, free: 9.578 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5033, allocations: 0 / 0.6339 GB, free: 9.578 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002864/0.5061, allocations: 0.8577 MB / 0.6348 GB, free: 8.719 MB / 478.1 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.004179/0.5103, allocations: 0.9839 MB / 0.6357 GB, free: 7.723 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008823/0.5112, allocations: 267.6 kB / 0.636 GB, free: 7.461 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5112, allocations: 4 kB / 0.636 GB, free: 7.457 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.5115, allocations: 148.4 kB / 0.6361 GB, free: 7.316 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.5123, allocations: 141.6 kB / 0.6363 GB, free: 7.184 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.5138, allocations: 0.8496 MB / 0.6371 GB, free: 6.305 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.5141, allocations: 247.7 kB / 0.6373 GB, free: 6.039 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000317/0.5144, allocations: 130.8 kB / 0.6374 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.818e-05/0.5145, allocations: 27.44 kB / 0.6375 GB, free: 5.887 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5145, allocations: 0 / 0.6375 GB, free: 5.887 MB / 478.1 MB Notification: Performance of Templates: time 0.04872/0.5632, allocations: 33.82 MB / 0.6705 GB, free: 4.164 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.232554184010951]