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.001451/0.001451, 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.001504/0.001504, allocations: 210.9 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2281/0.2281, allocations: 46.96 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] 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.002042/0.002042, allocations: 67.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3102, allocations: 66.03 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03363/0.3438, allocations: 27.68 MB / 0.5888 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.363, allocations: 13.84 MB / 0.6024 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.3633, allocations: 15.88 kB / 0.6024 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.364, allocations: 202.6 kB / 0.6026 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006184/0.3646, allocations: 278.4 kB / 0.6028 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01453/0.3791, allocations: 5.591 MB / 0.6083 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.3804, allocations: 0.8342 MB / 0.6091 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.3808, allocations: 193 kB / 0.6093 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01119/0.392, allocations: 5.501 MB / 0.6147 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.3924, allocations: 243 kB / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.3925, allocations: 28 kB / 0.6149 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.4033, allocations: 6.08 MB / 0.6209 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.4034, allocations: 87.69 kB / 0.6209 GB, free: 7.422 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.4037, allocations: 163.3 kB / 0.6211 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006798/0.4105, allocations: 3.675 MB / 0.6247 GB, free: 3.578 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4105, allocations: 0 / 0.6247 GB, free: 3.578 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4105, allocations: 0 / 0.6247 GB, free: 3.578 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.4105, allocations: 0 / 0.6247 GB, free: 3.578 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.002184/0.4127, allocations: 0.9469 MB / 0.6256 GB, free: 2.598 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4127, allocations: 12.02 kB / 0.6256 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009993/0.4137, allocations: 120.6 kB / 0.6257 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.4143, allocations: 284.9 kB / 0.626 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.4144, allocations: 24.88 kB / 0.626 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.4144, allocations: 24.38 kB / 0.6261 GB, free: 2.117 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.4157, allocations: 0.594 MB / 0.6266 GB, free: 1.445 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4157, allocations: 3.984 kB / 0.6266 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.4157, allocations: 12 kB / 0.6267 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.4157, allocations: 12 kB / 0.6267 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.4168, allocations: 365.3 kB / 0.627 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.4198, allocations: 1.734 MB / 0.6287 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.4208, allocations: 262.3 kB / 0.629 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.4211, allocations: 100.9 kB / 0.6291 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.4214, allocations: 99.91 kB / 0.6291 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.4214, allocations: 42.5 kB / 0.6292 GB, free: 14.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.4214, allocations: 0 / 0.6292 GB, free: 14.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001796/0.4232, allocations: 441.2 kB / 0.6296 GB, free: 14.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.4233, allocations: 106.8 kB / 0.6297 GB, free: 14.17 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.4236, allocations: 280 kB / 0.63 GB, free: 13.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.4236, allocations: 33.7 kB / 0.63 GB, free: 13.85 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4238, allocations: 223.8 kB / 0.6302 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.4238, allocations: 39.69 kB / 0.6303 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.4239, allocations: 53.66 kB / 0.6303 GB, free: 13.53 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4241, allocations: 338.8 kB / 0.6306 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.4244, allocations: 83.92 kB / 0.6307 GB, free: 13.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.4248, allocations: 258.7 kB / 0.631 GB, free: 12.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.4254, allocations: 277.5 kB / 0.6312 GB, free: 12.47 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4254, allocations: 4 kB / 0.6312 GB, free: 12.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007748/0.4262, allocations: 313.1 kB / 0.6315 GB, free: 12.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4262, allocations: 4 kB / 0.6315 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4262, allocations: 4 kB / 0.6315 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4262, allocations: 8 kB / 0.6315 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.4265, allocations: 63.89 kB / 0.6316 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4265, allocations: 4 kB / 0.6316 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.4267, allocations: 52 kB / 0.6317 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.4268, allocations: 16 kB / 0.6317 GB, free: 12 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.0001642/0.4269, allocations: 149.8 kB / 0.6318 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.427, allocations: 27.84 kB / 0.6318 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.4282, allocations: 0.7596 MB / 0.6326 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4282, allocations: 11.92 kB / 0.6326 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4282, allocations: 0 / 0.6326 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.4282, allocations: 3.938 kB / 0.6326 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.4287, allocations: 438.4 kB / 0.633 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4287, allocations: 0 / 0.633 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.4289, allocations: 43.95 kB / 0.6331 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4289, allocations: 8 kB / 0.6331 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.4289, allocations: 7.984 kB / 0.6331 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4289, allocations: 0 / 0.6331 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4289, allocations: 0 / 0.6331 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.4297, allocations: 474.6 kB / 0.6335 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.4298, allocations: 31.7 kB / 0.6336 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/0.4298, allocations: 31.78 kB / 0.6336 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.43, allocations: 11.98 kB / 0.6336 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.4301, allocations: 27.89 kB / 0.6336 GB, free: 9.938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.4301, allocations: 7.984 kB / 0.6336 GB, free: 9.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003443/0.4305, allocations: 311.1 kB / 0.6339 GB, free: 9.625 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4305, allocations: 0 / 0.6339 GB, free: 9.625 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0024/0.4329, allocations: 0.8538 MB / 0.6348 GB, free: 8.77 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.003435/0.4363, allocations: 0.9814 MB / 0.6357 GB, free: 7.773 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007663/0.4371, allocations: 263.7 kB / 0.636 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4371, allocations: 0.9375 kB / 0.636 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.4374, allocations: 147.5 kB / 0.6361 GB, free: 7.375 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.4382, allocations: 145.9 kB / 0.6363 GB, free: 7.242 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.4396, allocations: 0.8431 MB / 0.6371 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.4398, allocations: 243.7 kB / 0.6373 GB, free: 6.105 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.4401, allocations: 142.7 kB / 0.6374 GB, free: 5.969 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.4402, allocations: 31.44 kB / 0.6375 GB, free: 5.938 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4402, allocations: 0 / 0.6375 GB, free: 5.938 MB / 478.1 MB Notification: Performance of Templates: time 0.04903/0.4892, allocations: 33.82 MB / 0.6705 GB, free: 4.219 MB / 0.4981 GB " [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=480 -s gbode -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.0578549790079705]