Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001271/0.001271, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001159/0.002431, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0008948/0.0008948, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009121/0.001807, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9369/0.9369, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.172/1.109, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1265/0.1265, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02399/0.1505, allocations: 12.29 MB / 265.9 MB, free: 7.824 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.047e-05, allocations: 2.312 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0309/0.03092, allocations: 14.45 MB / 281.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01953/0.05045, allocations: 11.71 MB / 293.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.05066, allocations: 15.88 kB / 293.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.05097, allocations: 123.1 kB / 293.5 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.05137, allocations: 298 kB / 293.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009379/0.06075, allocations: 4.859 MB / 298.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008574/0.06161, allocations: 0.842 MB / 299.5 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.06192, allocations: 191 kB / 299.7 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.0648, allocations: 1.866 MB / 301.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.06503, allocations: 195.4 kB / 301.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.06507, allocations: 32 kB / 301.8 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007791/0.07286, allocations: 6.208 MB / 308 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.07295, allocations: 71.73 kB / 308.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.07306, allocations: 115.8 kB / 308.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.07692, allocations: 3.349 MB / 311.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.07694, allocations: 0 / 311.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.07694, allocations: 0 / 311.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.07695, allocations: 0 / 311.5 MB, free: 10.07 MB / 314.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.001637/0.07859, allocations: 1.152 MB / 312.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.07862, allocations: 8.031 kB / 312.7 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.07914, allocations: 241.4 kB / 312.9 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.07947, allocations: 264.6 kB / 313.2 MB, free: 8.336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.0795, allocations: 20.88 kB / 313.2 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.07953, allocations: 32.38 kB / 313.2 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.08012, allocations: 0.5551 MB / 313.8 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.08013, allocations: 192 / 313.8 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.08015, allocations: 15.94 kB / 313.8 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.08016, allocations: 8 kB / 313.8 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.08049, allocations: 240.7 kB / 314 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.08178, allocations: 1.518 MB / 315.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.0822, allocations: 210.3 kB / 315.8 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.08224, allocations: 28.84 kB / 315.8 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.207/0.2892, allocations: 38.85 MB / 354.6 MB, free: 35.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.2893, allocations: 34.56 kB / 354.7 MB, free: 35.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.616e-06/0.2893, allocations: 0 / 354.7 MB, free: 35.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008184/0.2901, allocations: 294.2 kB / 355 MB, free: 35.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2901, allocations: 51.41 kB / 355 MB, free: 35.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.2904, allocations: 259.3 kB / 355.3 MB, free: 35.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2904, allocations: 30.77 kB / 355.3 MB, free: 35.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.2905, allocations: 206 kB / 355.5 MB, free: 35.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.2905, allocations: 43.52 kB / 355.5 MB, free: 35.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.2906, allocations: 53.72 kB / 355.6 MB, free: 35.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.2907, allocations: 335.1 kB / 355.9 MB, free: 34.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.2908, allocations: 34.45 kB / 356 MB, free: 34.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2909, allocations: 209.8 kB / 356.2 MB, free: 34.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.291, allocations: 204.1 kB / 356.4 MB, free: 34.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.291, allocations: 0 / 356.4 MB, free: 34.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002273/0.2913, allocations: 198.6 kB / 356.6 MB, free: 34.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.2913, allocations: 8 kB / 356.6 MB, free: 34.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2913, allocations: 7.375 kB / 356.6 MB, free: 34.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2913, allocations: 5.234 kB / 356.6 MB, free: 34.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.2915, allocations: 67.84 kB / 356.6 MB, free: 34.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.2915, allocations: 7.469 kB / 356.6 MB, free: 34.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2917, allocations: 36.52 kB / 356.7 MB, free: 34.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.2917, allocations: 11.5 kB / 356.7 MB, free: 34.03 MB / 330.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.0001233/0.2918, allocations: 128.4 kB / 356.8 MB, free: 33.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.2918, allocations: 20.97 kB / 356.8 MB, free: 33.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.2923, allocations: 0.5137 MB / 357.4 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.2924, allocations: 8.453 kB / 357.4 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2924, allocations: 0 / 357.4 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2924, allocations: 0 / 357.4 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.2927, allocations: 294.7 kB / 357.6 MB, free: 33.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.2927, allocations: 4 kB / 357.7 MB, free: 33.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.2928, allocations: 34.78 kB / 357.7 MB, free: 33.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.2928, allocations: 35.22 kB / 357.7 MB, free: 33.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2928, allocations: 4 kB / 357.7 MB, free: 33.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2928, allocations: 4 kB / 357.7 MB, free: 33.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2929, allocations: 0 / 357.7 MB, free: 33.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2929, allocations: 0 / 357.7 MB, free: 33.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.2931, allocations: 341.7 kB / 358.1 MB, free: 32.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.2931, allocations: 22.38 kB / 358.1 MB, free: 32.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.2932, allocations: 15.23 kB / 358.1 MB, free: 32.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.2932, allocations: 15.09 kB / 358.1 MB, free: 32.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.2932, allocations: 4 kB / 358.1 MB, free: 32.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.2933, allocations: 164.9 kB / 358.3 MB, free: 32.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2933, allocations: 0 / 358.3 MB, free: 32.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002065/0.2954, allocations: 0.8647 MB / 359.1 MB, free: 31.88 MB / 330.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.003186/0.2986, allocations: 1.174 MB / 360.3 MB, free: 30.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.2989, allocations: 133.1 kB / 360.4 MB, free: 30.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.885e-05/0.2989, allocations: 11.48 kB / 360.5 MB, free: 30.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.299, allocations: 60.88 kB / 360.5 MB, free: 30.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.2995, allocations: 209 kB / 360.7 MB, free: 30.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.3035, allocations: 0.8003 MB / 361.5 MB, free: 29.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.349e-05/0.3035, allocations: 121.5 kB / 361.6 MB, free: 29.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.3037, allocations: 129.4 kB / 361.8 MB, free: 29.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.304, allocations: 156.7 kB / 361.9 MB, free: 29.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.304, allocations: 0 / 361.9 MB, free: 29.34 MB / 330.7 MB Notification: Performance of Templates: time 0.03594/0.3399, allocations: 37.58 MB / 399.5 MB, free: 8.055 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.106028911657631]