Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.001669/0.001669, allocations: 114.1 kB / 18.45 MB, free: 4.605 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.00219/0.00219, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2312/0.2312, allocations: 46.92 MB / 357.8 MB, free: 10.33 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+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.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.91 kB / 0.4921 GB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1536, allocations: 65.99 MB / 0.5565 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01735/0.171, allocations: 12.54 MB / 0.5688 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1727, allocations: 1.393 MB / 0.5701 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.1727, allocations: 0 / 0.5701 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.1729, allocations: 31.86 kB / 0.5701 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006691/0.1796, allocations: 2.239 MB / 0.5723 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.083e-06/0.1796, allocations: 0 / 0.5723 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1797, allocations: 39.69 kB / 0.5724 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.1798, allocations: 4 kB / 0.5724 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.1799, allocations: 19.91 kB / 0.5724 GB, free: 5.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/0.1799, allocations: 19.88 kB / 0.5724 GB, free: 5.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.1799, allocations: 0 / 0.5724 GB, free: 5.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007738/0.1877, allocations: 3.847 MB / 0.5762 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.1877, allocations: 3.938 kB / 0.5762 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.1878, allocations: 23.91 kB / 0.5762 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.1928, allocations: 1.98 MB / 0.5781 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1928, allocations: 4 kB / 0.5781 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1928, allocations: 0 / 0.5781 GB, free: 15.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1928, allocations: 0 / 0.5781 GB, free: 15.17 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.001549/0.1943, allocations: 0.5681 MB / 0.5787 GB, free: 14.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1944, allocations: 8.031 kB / 0.5787 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.1945, allocations: 16.88 kB / 0.5787 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1947, allocations: 160.4 kB / 0.5789 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1947, allocations: 4.375 kB / 0.5789 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1947, allocations: 12.36 kB / 0.5789 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.195, allocations: 91.42 kB / 0.579 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.195, allocations: 7.938 kB / 0.579 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.195, allocations: 4 kB / 0.579 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.195, allocations: 0 / 0.579 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.1952, allocations: 47.95 kB / 0.579 GB, free: 14.16 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.0005026/0.1957, allocations: 368.9 kB / 0.5794 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1959, allocations: 54.55 kB / 0.5794 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.1959, allocations: 12.95 kB / 0.5794 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02382/0.2198, allocations: 10.41 MB / 0.5896 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.2198, allocations: 34.56 kB / 0.5896 GB, free: 2.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.2198, allocations: 0 / 0.5896 GB, free: 2.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005563/0.2204, allocations: 105.6 kB / 0.5897 GB, free: 1.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.2204, allocations: 51.41 kB / 0.5898 GB, free: 1.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2205, allocations: 109.8 kB / 0.5899 GB, free: 1.734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2206, allocations: 25.7 kB / 0.5899 GB, free: 1.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.2206, allocations: 88.09 kB / 0.59 GB, free: 1.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.2207, allocations: 19.89 kB / 0.59 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.2207, allocations: 17.72 kB / 0.59 GB, free: 1.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2209, allocations: 318.8 kB / 0.5903 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.2209, allocations: 7.984 kB / 0.5903 GB, free: 1.242 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.221, allocations: 26.58 kB / 0.5904 GB, free: 1.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.223e-05/0.2211, allocations: 42.52 kB / 0.5904 GB, free: 1.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2211, allocations: 0 / 0.5904 GB, free: 1.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001122/0.2212, allocations: 69.55 kB / 0.5905 GB, free: 1.082 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.2212, allocations: 9.875 kB / 0.5905 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2212, allocations: 0 / 0.5905 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2212, allocations: 432 / 0.5905 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.2213, allocations: 8 kB / 0.5905 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.2213, allocations: 4 kB / 0.5905 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.2213, allocations: 11.95 kB / 0.5905 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2214, allocations: 7.938 kB / 0.5905 GB, free: 1.043 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 9.921e-05/0.2215, allocations: 120 kB / 0.5906 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.2215, allocations: 4 kB / 0.5906 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.222, allocations: 374.9 kB / 0.591 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.222, allocations: 0 / 0.591 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.222, allocations: 0 / 0.591 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.222, allocations: 7.984 kB / 0.591 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.2223, allocations: 290.1 kB / 0.5913 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2223, allocations: 0 / 0.5913 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.2223, allocations: 4 kB / 0.5913 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2224, allocations: 7.984 kB / 0.5913 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2224, allocations: 0 / 0.5913 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2224, allocations: 0 / 0.5913 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.2224, allocations: 7.875 kB / 0.5913 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3656/0.588, allocations: 283.6 kB / 0.5916 GB, free: 37.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.588, allocations: 93.89 kB / 0.5917 GB, free: 37.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.588, allocations: 2.172 kB / 0.5917 GB, free: 37.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.5881, allocations: 1.25 kB / 0.5917 GB, free: 37.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.5881, allocations: 4.656 kB / 0.5917 GB, free: 37.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.5881, allocations: 1.312 kB / 0.5917 GB, free: 37.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.884e-05/0.5882, allocations: 87 kB / 0.5918 GB, free: 36.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5882, allocations: 0 / 0.5918 GB, free: 36.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001718/0.5899, allocations: 448.5 kB / 0.5922 GB, free: 36.96 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.002045/0.5919, allocations: 0.552 MB / 0.5927 GB, free: 36.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.5922, allocations: 89.05 kB / 0.5928 GB, free: 36.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5922, allocations: 1.219 kB / 0.5928 GB, free: 36.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.753e-05/0.5923, allocations: 61.08 kB / 0.5929 GB, free: 36.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.5926, allocations: 14.14 kB / 0.5929 GB, free: 36.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.5932, allocations: 329.2 kB / 0.5932 GB, free: 36.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.5933, allocations: 0.7109 MB / 0.5939 GB, free: 35.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.5934, allocations: 11.91 kB / 0.5939 GB, free: 35.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5934, allocations: 0.5625 kB / 0.5939 GB, free: 35.98 MB / 446.1 MB Notification: Performance of Templates: time 0.02477/0.6181, allocations: 9.043 MB / 0.6027 GB, free: 34.91 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 9.047110209998209]