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.001405/0.001405, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001488/0.001488, allocations: 199.1 kB / 23.72 MB, free: 4.492 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 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.232/0.232, allocations: 44.94 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003899/0.003899, allocations: 67.91 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3545, allocations: 65.48 MB / 0.5575 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03801/0.3925, allocations: 27.68 MB / 0.5845 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02093/0.4134, allocations: 13.83 MB / 0.598 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.4138, allocations: 19.88 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.4146, allocations: 202.6 kB / 0.5982 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009099/0.4155, allocations: 274.4 kB / 0.5985 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01655/0.4321, allocations: 5.602 MB / 0.6039 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.4334, allocations: 0.8226 MB / 0.6047 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.4339, allocations: 195.7 kB / 0.6049 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.4466, allocations: 5.501 MB / 0.6103 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.4472, allocations: 235 kB / 0.6105 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.4473, allocations: 28 kB / 0.6106 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.4593, allocations: 5.842 MB / 0.6163 GB, free: 11.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.4595, allocations: 91.61 kB / 0.6163 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.4598, allocations: 155.4 kB / 0.6165 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008453/0.4683, allocations: 3.675 MB / 0.6201 GB, free: 7.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4683, allocations: 4 kB / 0.6201 GB, free: 7.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4683, allocations: 0 / 0.6201 GB, free: 7.098 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.4683, allocations: 3.938 kB / 0.6201 GB, free: 7.094 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.002963/0.4713, allocations: 0.9508 MB / 0.621 GB, free: 6.109 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4713, allocations: 8.031 kB / 0.621 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.4725, allocations: 124.6 kB / 0.6211 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.4731, allocations: 273 kB / 0.6214 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.4732, allocations: 24.88 kB / 0.6214 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.4732, allocations: 28.31 kB / 0.6215 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4745, allocations: 0.6018 MB / 0.622 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4746, allocations: 0 / 0.622 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.4746, allocations: 12 kB / 0.6221 GB, free: 4.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4746, allocations: 8 kB / 0.6221 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4758, allocations: 365.3 kB / 0.6224 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.4791, allocations: 1.731 MB / 0.6241 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.4801, allocations: 262.3 kB / 0.6244 GB, free: 2.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.4804, allocations: 92.73 kB / 0.6244 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.4807, allocations: 107.9 kB / 0.6245 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.4807, allocations: 38.56 kB / 0.6246 GB, free: 2.262 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.424e-06/0.4807, allocations: 0 / 0.6246 GB, free: 2.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001734/0.4825, allocations: 445.3 kB / 0.625 GB, free: 1.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.4825, allocations: 102.8 kB / 0.6251 GB, free: 1.695 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.4829, allocations: 284 kB / 0.6254 GB, free: 1.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.4829, allocations: 33.7 kB / 0.6254 GB, free: 1.371 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.4831, allocations: 215.9 kB / 0.6256 GB, free: 1.156 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.4832, allocations: 43.67 kB / 0.6257 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4833, allocations: 61.64 kB / 0.6257 GB, free: 1.047 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4835, allocations: 334.8 kB / 0.626 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.4837, allocations: 83.88 kB / 0.6261 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.4842, allocations: 262.7 kB / 0.6264 GB, free: 312 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.4848, allocations: 277.9 kB / 0.6266 GB, free: 15.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4848, allocations: 7.875 kB / 0.6266 GB, free: 15.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000777/0.4856, allocations: 309.5 kB / 0.6269 GB, free: 15.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4856, allocations: 8 kB / 0.6269 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4856, allocations: 4 kB / 0.6269 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.4856, allocations: 4 kB / 0.6269 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.4859, allocations: 63.89 kB / 0.627 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.4859, allocations: 15.97 kB / 0.627 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.4861, allocations: 47.64 kB / 0.6271 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.4862, allocations: 12 kB / 0.6271 GB, free: 15.51 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.0001924/0.4864, allocations: 157.8 kB / 0.6272 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.4864, allocations: 31.78 kB / 0.6273 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.4877, allocations: 0.775 MB / 0.628 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.4878, allocations: 7.984 kB / 0.628 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4878, allocations: 0 / 0.628 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4878, allocations: 3.938 kB / 0.628 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.4883, allocations: 438.4 kB / 0.6284 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4883, allocations: 0 / 0.6284 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.4885, allocations: 39.95 kB / 0.6285 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4885, allocations: 4 kB / 0.6285 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4886, allocations: 4 kB / 0.6285 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4886, allocations: 7.938 kB / 0.6285 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4886, allocations: 4 kB / 0.6285 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.4894, allocations: 469.9 kB / 0.6289 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.4894, allocations: 35.64 kB / 0.629 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.4895, allocations: 27.78 kB / 0.629 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.4897, allocations: 19.97 kB / 0.629 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.4898, allocations: 19.97 kB / 0.629 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4898, allocations: 4 kB / 0.6291 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003625/0.4901, allocations: 311.1 kB / 0.6293 GB, free: 13.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4901, allocations: 0 / 0.6293 GB, free: 13.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002367/0.4925, allocations: 0.8615 MB / 0.6302 GB, free: 12.26 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.003938/0.4964, allocations: 0.9853 MB / 0.6312 GB, free: 11.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007314/0.4972, allocations: 271.3 kB / 0.6314 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4972, allocations: 0 / 0.6314 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.4975, allocations: 136.8 kB / 0.6315 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.4983, allocations: 133.1 kB / 0.6317 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.4998, allocations: 0.8515 MB / 0.6325 GB, free: 9.855 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.5, allocations: 243.7 kB / 0.6327 GB, free: 9.594 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003124/0.5003, allocations: 136.6 kB / 0.6329 GB, free: 9.465 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.5004, allocations: 31.44 kB / 0.6329 GB, free: 9.434 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5004, allocations: 0 / 0.6329 GB, free: 9.434 MB / 478.1 MB Notification: Performance of Templates: time 0.05343/0.5538, allocations: 33.68 MB / 0.6658 GB, free: 7.855 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] 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.659689571708441]