Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 123.4 kB / 19.18 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 206.5 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.3 MB / 255.2 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2365/0.2365, allocations: 46.92 MB / 358.2 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 80.06 kB / 0.4925 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1474, allocations: 66 MB / 0.557 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01862/0.1661, allocations: 12.55 MB / 0.5692 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.168, allocations: 1.393 MB / 0.5706 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.168, allocations: 3.938 kB / 0.5706 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.1682, allocations: 35.8 kB / 0.5706 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006926/0.1751, allocations: 2.229 MB / 0.5728 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.605e-06/0.1751, allocations: 0 / 0.5728 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1753, allocations: 39.69 kB / 0.5728 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.1753, allocations: 7.938 kB / 0.5728 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.581e-05/0.1754, allocations: 15.97 kB / 0.5728 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.1755, allocations: 11.94 kB / 0.5729 GB, free: 5.199 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.1755, allocations: 4 kB / 0.5729 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007798/0.1833, allocations: 3.847 MB / 0.5766 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.1833, allocations: 3.938 kB / 0.5766 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1833, allocations: 27.84 kB / 0.5766 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.1881, allocations: 1.973 MB / 0.5786 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1881, allocations: 4 kB / 0.5786 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1881, allocations: 0 / 0.5786 GB, free: 15.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1881, allocations: 3.938 kB / 0.5786 GB, free: 15.33 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001749/0.1899, allocations: 0.5681 MB / 0.5791 GB, free: 14.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.1899, allocations: 12.03 kB / 0.5791 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.1901, allocations: 12.88 kB / 0.5792 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1903, allocations: 168.3 kB / 0.5793 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1903, allocations: 384 / 0.5793 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1903, allocations: 8.375 kB / 0.5793 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.1906, allocations: 91.48 kB / 0.5794 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1906, allocations: 0 / 0.5794 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1907, allocations: 4 kB / 0.5794 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1907, allocations: 3.938 kB / 0.5794 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.1909, allocations: 51.88 kB / 0.5795 GB, free: 14.32 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.1914, allocations: 357 kB / 0.5798 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1916, allocations: 58.55 kB / 0.5799 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.1916, allocations: 12.86 kB / 0.5799 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02292/0.2146, allocations: 10.42 MB / 0.5901 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.2146, allocations: 34.56 kB / 0.5901 GB, free: 2.188 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 3.096e-06/0.2146, allocations: 0 / 0.5901 GB, free: 2.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005291/0.2151, allocations: 101.6 kB / 0.5902 GB, free: 2.082 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.2152, allocations: 55.41 kB / 0.5902 GB, free: 2.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.2153, allocations: 97.84 kB / 0.5903 GB, free: 1.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2153, allocations: 33.64 kB / 0.5904 GB, free: 1.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.2154, allocations: 84.09 kB / 0.5904 GB, free: 1.785 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.2154, allocations: 27.83 kB / 0.5905 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2154, allocations: 17.72 kB / 0.5905 GB, free: 1.734 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2156, allocations: 322.8 kB / 0.5908 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.2156, allocations: 7.984 kB / 0.5908 GB, free: 1.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.919e-05/0.2156, allocations: 26.52 kB / 0.5908 GB, free: 1.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.021e-05/0.2157, allocations: 38.95 kB / 0.5909 GB, free: 1.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2157, allocations: 0 / 0.5909 GB, free: 1.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001219/0.2158, allocations: 73.59 kB / 0.5909 GB, free: 1.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2159, allocations: 4 kB / 0.5909 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2159, allocations: 0 / 0.5909 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.2159, allocations: 0 / 0.5909 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.216, allocations: 15.94 kB / 0.591 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.216, allocations: 0 / 0.591 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.216, allocations: 3.953 kB / 0.591 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.216, allocations: 8 kB / 0.591 GB, free: 1.211 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001005/0.2161, allocations: 121.8 kB / 0.5911 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.2161, allocations: 0 / 0.5911 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.2166, allocations: 379 kB / 0.5914 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.2166, allocations: 4.062 kB / 0.5914 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.2166, allocations: 7.938 kB / 0.5915 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2166, allocations: 3.984 kB / 0.5915 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.2169, allocations: 286.1 kB / 0.5917 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2169, allocations: 0 / 0.5917 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.217, allocations: 12 kB / 0.5917 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.217, allocations: 3.984 kB / 0.5917 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.217, allocations: 0 / 0.5917 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.217, allocations: 0 / 0.5917 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.217, allocations: 0 / 0.5917 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.2173, allocations: 285.7 kB / 0.592 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3748/0.592, allocations: 96.44 kB / 0.5921 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.5921, allocations: 0.5 kB / 0.5921 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.5921, allocations: 1.5 kB / 0.5921 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.5922, allocations: 4.281 kB / 0.5921 GB, free: 37.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.5922, allocations: 4.844 kB / 0.5921 GB, free: 37.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.35e-05/0.5923, allocations: 86.94 kB / 0.5922 GB, free: 37.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5923, allocations: 1.156 kB / 0.5922 GB, free: 37.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001832/0.5941, allocations: 445.8 kB / 0.5926 GB, free: 37.22 MB / 446.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: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.002089/0.5962, allocations: 0.5494 MB / 0.5932 GB, free: 37.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.5964, allocations: 86.88 kB / 0.5933 GB, free: 37.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5964, allocations: 3.156 kB / 0.5933 GB, free: 37.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.5965, allocations: 61.12 kB / 0.5933 GB, free: 37.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.5968, allocations: 16.09 kB / 0.5933 GB, free: 37.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.5974, allocations: 326.4 kB / 0.5936 GB, free: 36.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.5975, allocations: 0.7105 MB / 0.5943 GB, free: 36.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.5976, allocations: 11.62 kB / 0.5943 GB, free: 36.24 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5976, allocations: 3.25 kB / 0.5943 GB, free: 36.24 MB / 446.1 MB Notification: Performance of Templates: time 0.02637/0.6239, allocations: 9.036 MB / 0.6032 GB, free: 35.19 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 8.564233653989504]