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.0009178/0.0009178, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009661/0.0009661, allocations: 169.9 kB / 24.91 MB, free: 9.188 MB / 18.57 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 0.92/0.92, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2239/0.2239, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.7 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 2.605e-06/2.605e-06, allocations: 0 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.415e-05, allocations: 6.312 kB / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04256/0.04259, allocations: 14.47 MB / 339.7 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.05867, allocations: 11.67 MB / 351.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.05897, allocations: 23.81 kB / 351.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.05956, allocations: 131 kB / 351.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007152/0.06027, allocations: 286.2 kB / 351.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01513/0.07541, allocations: 5.405 MB / 357.2 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.07654, allocations: 0.8459 MB / 358.1 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.0769, allocations: 209.2 kB / 358.3 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.08029, allocations: 2.216 MB / 360.5 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.0806, allocations: 203.3 kB / 360.7 MB, free: 4.102 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.08063, allocations: 28 kB / 360.7 MB, free: 4.074 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008297/0.08893, allocations: 5.81 MB / 366.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.08909, allocations: 91.66 kB / 366.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.08932, allocations: 131.8 kB / 366.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00916/0.09848, allocations: 4.459 MB / 371.2 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.0985, allocations: 3.984 kB / 371.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.0985, allocations: 0 / 371.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.0985, allocations: 3.938 kB / 371.2 MB, free: 9.562 MB / 346.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.002249/0.1008, allocations: 0.8868 MB / 372.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1008, allocations: 8.031 kB / 372.1 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000615/0.1014, allocations: 184.2 kB / 372.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1018, allocations: 264.6 kB / 372.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.1018, allocations: 24.88 kB / 372.6 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1018, allocations: 24.38 kB / 372.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.1025, allocations: 0.5551 MB / 373.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1025, allocations: 4.125 kB / 373.2 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.1025, allocations: 15.94 kB / 373.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1025, allocations: 8 kB / 373.2 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.1029, allocations: 224.8 kB / 373.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.1044, allocations: 1.511 MB / 374.9 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.1048, allocations: 214.3 kB / 375.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.1049, allocations: 28.84 kB / 375.1 MB, free: 5.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08279/0.1877, allocations: 38.89 MB / 414 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.1877, allocations: 34.56 kB / 414.1 MB, free: 14.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.993e-06/0.1877, allocations: 0 / 414.1 MB, free: 14.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007318/0.1884, allocations: 307.4 kB / 414.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1885, allocations: 102.8 kB / 414.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1887, allocations: 258.8 kB / 414.7 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1887, allocations: 33.69 kB / 414.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.1888, allocations: 200.3 kB / 414.9 MB, free: 13.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1888, allocations: 35.69 kB / 415 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.1889, allocations: 65.61 kB / 415 MB, free: 13.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.189, allocations: 334.8 kB / 415.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.1891, allocations: 35.97 kB / 415.4 MB, free: 13.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1892, allocations: 210.7 kB / 415.6 MB, free: 12.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1894, allocations: 206.5 kB / 415.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1894, allocations: 4 kB / 415.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000215/0.1896, allocations: 193.2 kB / 416 MB, free: 12.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1896, allocations: 8 kB / 416 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1896, allocations: 4 kB / 416 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1896, allocations: 11.92 kB / 416 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1898, allocations: 59.91 kB / 416.1 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1898, allocations: 4 kB / 416.1 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1899, allocations: 32.28 kB / 416.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1899, allocations: 8 kB / 416.1 MB, free: 12.18 MB / 394.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.0001066/0.19, allocations: 132.5 kB / 416.3 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.19, allocations: 15.98 kB / 416.3 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.1905, allocations: 0.5184 MB / 416.8 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.1905, allocations: 7.938 kB / 416.8 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.1905, allocations: 4 kB / 416.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1905, allocations: 3.984 kB / 416.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.1907, allocations: 286.7 kB / 417.1 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1907, allocations: 0 / 417.1 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.1908, allocations: 35.97 kB / 417.1 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1908, allocations: 0 / 417.1 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1908, allocations: 4 kB / 417.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1908, allocations: 0 / 417.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1908, allocations: 0 / 417.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1911, allocations: 342.7 kB / 417.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.1911, allocations: 39.64 kB / 417.5 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.1911, allocations: 27.78 kB / 417.5 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.1912, allocations: 11.98 kB / 417.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.1913, allocations: 19.91 kB / 417.6 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1913, allocations: 7.984 kB / 417.6 MB, free: 10.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1914, allocations: 160.7 kB / 417.7 MB, free: 10.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1914, allocations: 0 / 417.7 MB, free: 10.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002045/0.1935, allocations: 0.8616 MB / 418.6 MB, free: 9.664 MB / 394.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.002562/0.196, allocations: 1.149 MB / 419.7 MB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.1963, allocations: 135.6 kB / 419.9 MB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/0.1963, allocations: 12 kB / 419.9 MB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.1964, allocations: 56.77 kB / 419.9 MB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.1968, allocations: 153.9 kB / 420.1 MB, free: 8.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.198, allocations: 0.7897 MB / 420.9 MB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.332e-05/0.1981, allocations: 121 kB / 421 MB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.1983, allocations: 134.3 kB / 421.1 MB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.1985, allocations: 165.2 kB / 421.3 MB, free: 6.918 MB / 394.7 MB Notification: Performance of SimCode: time 1.733e-06/0.1985, allocations: 3.938 kB / 421.3 MB, free: 6.914 MB / 394.7 MB Notification: Performance of Templates: time 0.1833/0.3818, allocations: 37.48 MB / 458.8 MB, free: 97.8 MB / 410.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.580852823797613]