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.0008116/0.0008116, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.001996, allocations: 452 kB / 10.43 MB, free: 264 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.000699/0.000699, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009872/0.001686, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9649/0.9649, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1588/1.124, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.1326/0.1326, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02715/0.1598, allocations: 12.3 MB / 266.1 MB, free: 3.875 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.563e-06/1.563e-06, allocations: 0 / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.314e-05, allocations: 2.312 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0121/0.01211, allocations: 14.46 MB / 281.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1701/0.1822, allocations: 11.7 MB / 293.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.1825, allocations: 16.22 kB / 293.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.1828, allocations: 124.2 kB / 293.7 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.1833, allocations: 292.9 kB / 294 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01058/0.1939, allocations: 4.849 MB / 298.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000895/0.1948, allocations: 0.8496 MB / 299.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.1951, allocations: 200.4 kB / 299.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.1981, allocations: 1.858 MB / 301.7 MB, free: 416 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.1984, allocations: 194 kB / 301.9 MB, free: 332 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.1985, allocations: 29.31 kB / 301.9 MB, free: 332 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008692/0.2071, allocations: 6.221 MB / 308.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.2072, allocations: 72.91 kB / 308.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2073, allocations: 110.1 kB / 308.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003721/0.2111, allocations: 3.331 MB / 311.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.2111, allocations: 0 / 311.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2111, allocations: 0 / 311.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.2111, allocations: 0 / 311.7 MB, free: 11.09 MB / 298.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.001763/0.2129, allocations: 1.154 MB / 312.8 MB, free: 9.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2129, allocations: 8.031 kB / 312.8 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.2134, allocations: 248.3 kB / 313.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.2137, allocations: 263.1 kB / 313.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2138, allocations: 22.84 kB / 313.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.2138, allocations: 28.38 kB / 313.4 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.2144, allocations: 0.5473 MB / 313.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2144, allocations: 384 / 313.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2145, allocations: 19.92 kB / 314 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2145, allocations: 8 kB / 314 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.2148, allocations: 225.7 kB / 314.2 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.2161, allocations: 1.517 MB / 315.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.2165, allocations: 216.7 kB / 315.9 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.2166, allocations: 33.33 kB / 315.9 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06285/0.2794, allocations: 38.84 MB / 354.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.2795, allocations: 34.56 kB / 354.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.615e-06/0.2795, allocations: 4 kB / 354.8 MB, free: 15.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007071/0.2802, allocations: 297.7 kB / 355.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.2802, allocations: 55.41 kB / 355.2 MB, free: 15.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2804, allocations: 259.6 kB / 355.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2804, allocations: 29.7 kB / 355.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.2805, allocations: 204.8 kB / 355.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.2805, allocations: 39.69 kB / 355.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.2806, allocations: 55.42 kB / 355.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.2807, allocations: 344.1 kB / 356.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-05/0.2807, allocations: 38.95 kB / 356.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.2809, allocations: 203.2 kB / 356.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.281, allocations: 222.4 kB / 356.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.281, allocations: 3.938 kB / 356.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001998/0.2812, allocations: 199.6 kB / 356.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2813, allocations: 8 kB / 356.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2813, allocations: 0 / 356.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2813, allocations: 11.94 kB / 356.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.2814, allocations: 67.89 kB / 356.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2814, allocations: 4 kB / 356.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.2815, allocations: 28.92 kB / 356.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2816, allocations: 15.97 kB / 356.9 MB, free: 13.7 MB / 346.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.0001003/0.2817, allocations: 132.5 kB / 357 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.2817, allocations: 15.98 kB / 357 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.2821, allocations: 0.5081 MB / 357.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.2821, allocations: 11.92 kB / 357.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2821, allocations: 5.125 kB / 357.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2821, allocations: 0 / 357.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.2824, allocations: 294 kB / 357.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2824, allocations: 0 / 357.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.2825, allocations: 39.97 kB / 357.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.2825, allocations: 39.58 kB / 357.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2825, allocations: 0 / 357.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.2825, allocations: 5.125 kB / 357.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2825, allocations: 0 / 357.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2825, allocations: 3.938 kB / 357.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.2828, allocations: 340.3 kB / 358.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.2828, allocations: 23.84 kB / 358.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.2829, allocations: 7.984 kB / 358.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.2829, allocations: 19.97 kB / 358.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.2829, allocations: 11.92 kB / 358.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.2831, allocations: 163.8 kB / 358.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2831, allocations: 0 / 358.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001571/0.2846, allocations: 0.8538 MB / 359.3 MB, free: 11.25 MB / 346.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.002456/0.2871, allocations: 1.184 MB / 360.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.2873, allocations: 139.1 kB / 360.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.2873, allocations: 4 kB / 360.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.469e-05/0.2874, allocations: 79.88 kB / 360.7 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.2881, allocations: 0.9444 MB / 361.7 MB, free: 8.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.292, allocations: 0.7935 MB / 362.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.196e-05/0.292, allocations: 120.8 kB / 362.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.2922, allocations: 131.3 kB / 362.7 MB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.2924, allocations: 157.2 kB / 362.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of SimCode: time 1.123e-06/0.2925, allocations: 4 kB / 362.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of Templates: time 0.03096/0.3234, allocations: 32.18 MB / 395 MB, free: 7.488 MB / 378.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.045190877281129]