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.001394/0.001394, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001481/0.001481, allocations: 209 kB / 24.48 MB, free: 3.938 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.567/1.567, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2386/0.2386, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.002497/0.002497, allocations: 67.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3762, allocations: 66.03 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0362/0.4124, allocations: 27.68 MB / 0.5889 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01979/0.4321, allocations: 13.83 MB / 0.6024 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.4326, allocations: 19.88 kB / 0.6024 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.4333, allocations: 194.7 kB / 0.6026 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.434, allocations: 286.3 kB / 0.6028 GB, free: 9.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01574/0.4498, allocations: 5.591 MB / 0.6083 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.451, allocations: 0.8265 MB / 0.6091 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.4514, allocations: 196.9 kB / 0.6093 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01165/0.463, allocations: 5.494 MB / 0.6147 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.4636, allocations: 243 kB / 0.6149 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.4636, allocations: 28 kB / 0.6149 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01298/0.4766, allocations: 5.842 MB / 0.6206 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.4769, allocations: 83.73 kB / 0.6207 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.4772, allocations: 155.3 kB / 0.6208 GB, free: 7.449 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009328/0.4865, allocations: 3.675 MB / 0.6244 GB, free: 3.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4865, allocations: 4 kB / 0.6244 GB, free: 3.762 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4865, allocations: 0 / 0.6244 GB, free: 3.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.4866, allocations: 0 / 0.6244 GB, free: 3.762 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.00256/0.4891, allocations: 0.9508 MB / 0.6254 GB, free: 2.777 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4892, allocations: 8.031 kB / 0.6254 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009928/0.4902, allocations: 124.6 kB / 0.6255 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.4907, allocations: 284.9 kB / 0.6258 GB, free: 2.348 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.4908, allocations: 24.88 kB / 0.6258 GB, free: 2.324 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.4908, allocations: 28.38 kB / 0.6258 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.492, allocations: 0.5901 MB / 0.6264 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.492, allocations: 3.938 kB / 0.6264 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.4921, allocations: 15.94 kB / 0.6264 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4921, allocations: 8 kB / 0.6264 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4932, allocations: 365.3 kB / 0.6268 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.4961, allocations: 1.734 MB / 0.6285 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009999/0.4971, allocations: 262.3 kB / 0.6287 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.4973, allocations: 92.78 kB / 0.6288 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.4976, allocations: 103.9 kB / 0.6289 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.4977, allocations: 38.56 kB / 0.6289 GB, free: 14.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.4977, allocations: 0 / 0.6289 GB, free: 14.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001659/0.4993, allocations: 449.6 kB / 0.6294 GB, free: 14.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.4994, allocations: 106.8 kB / 0.6295 GB, free: 14.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.4997, allocations: 280 kB / 0.6297 GB, free: 14.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.4997, allocations: 37.7 kB / 0.6298 GB, free: 14.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.4999, allocations: 215.9 kB / 0.63 GB, free: 13.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.4999, allocations: 39.69 kB / 0.63 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.5, allocations: 53.66 kB / 0.6301 GB, free: 13.72 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5002, allocations: 338.8 kB / 0.6304 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.5005, allocations: 83.92 kB / 0.6305 GB, free: 13.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.5009, allocations: 254.7 kB / 0.6307 GB, free: 12.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.5015, allocations: 281.5 kB / 0.631 GB, free: 12.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5015, allocations: 8 kB / 0.631 GB, free: 12.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000725/0.5022, allocations: 309.5 kB / 0.6313 GB, free: 12.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5022, allocations: 8.031 kB / 0.6313 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5022, allocations: 4 kB / 0.6313 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5022, allocations: 8 kB / 0.6313 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.5025, allocations: 63.89 kB / 0.6314 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5025, allocations: 7.938 kB / 0.6314 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.5027, allocations: 43.7 kB / 0.6314 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.5028, allocations: 23.92 kB / 0.6314 GB, free: 12.18 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.0001781/0.5029, allocations: 153.8 kB / 0.6316 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.503, allocations: 23.86 kB / 0.6316 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.5042, allocations: 0.775 MB / 0.6324 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.5042, allocations: 11.88 kB / 0.6324 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5042, allocations: 3.984 kB / 0.6324 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5042, allocations: 7.938 kB / 0.6324 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.5048, allocations: 434.5 kB / 0.6328 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5048, allocations: 0 / 0.6328 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.505, allocations: 39.95 kB / 0.6328 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.505, allocations: 0 / 0.6328 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.505, allocations: 8 kB / 0.6328 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.505, allocations: 4 kB / 0.6328 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.505, allocations: 0 / 0.6328 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.5057, allocations: 474.6 kB / 0.6333 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.5058, allocations: 39.62 kB / 0.6333 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.5059, allocations: 27.78 kB / 0.6334 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.5061, allocations: 15.98 kB / 0.6334 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.5061, allocations: 19.97 kB / 0.6334 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.5061, allocations: 7.984 kB / 0.6334 GB, free: 10.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003586/0.5065, allocations: 303.1 kB / 0.6337 GB, free: 9.801 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5065, allocations: 0 / 0.6337 GB, free: 9.801 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00262/0.5091, allocations: 0.8616 MB / 0.6345 GB, free: 8.938 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.003676/0.5128, allocations: 0.9958 MB / 0.6355 GB, free: 7.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007737/0.5136, allocations: 267.6 kB / 0.6358 GB, free: 7.668 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5136, allocations: 0 / 0.6358 GB, free: 7.668 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.5139, allocations: 140.8 kB / 0.6359 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008075/0.5147, allocations: 135.7 kB / 0.636 GB, free: 7.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.5162, allocations: 0.876 MB / 0.6369 GB, free: 6.496 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5164, allocations: 243.7 kB / 0.6371 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.5165, allocations: 31.44 kB / 0.6371 GB, free: 6.203 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5165, allocations: 0 / 0.6371 GB, free: 6.203 MB / 478.1 MB Notification: Performance of Templates: time 0.0322/0.5487, allocations: 19.64 MB / 0.6563 GB, free: 2.57 MB / 494.1 MB " [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 -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: 10.622493396047503]