Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001259/0.001259, allocations: 123.9 kB / 18.46 MB, free: 4.59 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.001332/0.001332, allocations: 205.8 kB / 21.4 MB, free: 1.645 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.44/1.44, allocations: 227.4 MB / 251.6 MB, free: 76 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.16 MB / 351.1 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 80.17 kB / 490.2 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1413, allocations: 62.45 MB / 0.5397 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01707/0.1585, allocations: 12.48 MB / 0.5519 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1601, allocations: 1.397 MB / 0.5532 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.1602, allocations: 4 kB / 0.5532 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.1604, allocations: 31.8 kB / 0.5533 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007007/0.1674, allocations: 2.23 MB / 0.5554 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.995e-06/0.1675, allocations: 0 / 0.5554 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.1676, allocations: 43.73 kB / 0.5555 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.1677, allocations: 0 / 0.5555 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1678, allocations: 19.86 kB / 0.5555 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.1679, allocations: 23.92 kB / 0.5555 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1679, allocations: 0 / 0.5555 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007448/0.1753, allocations: 3.843 MB / 0.5593 GB, free: 128 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.1754, allocations: 0 / 0.5593 GB, free: 128 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.1754, allocations: 15.94 kB / 0.5593 GB, free: 112 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003807/0.1793, allocations: 1.988 MB / 0.5612 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1793, allocations: 0 / 0.5612 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1793, allocations: 0 / 0.5612 GB, free: 14.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1793, allocations: 0 / 0.5612 GB, free: 14.12 MB / 430.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.001238/0.1805, allocations: 0.5681 MB / 0.5618 GB, free: 13.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1806, allocations: 12.03 kB / 0.5618 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1808, allocations: 12.88 kB / 0.5618 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.1809, allocations: 164.4 kB / 0.562 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1809, allocations: 4.359 kB / 0.562 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.181, allocations: 8.375 kB / 0.562 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1812, allocations: 95.42 kB / 0.5621 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1813, allocations: 0 / 0.5621 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1813, allocations: 0 / 0.5621 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1813, allocations: 0 / 0.5621 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1815, allocations: 47.95 kB / 0.5621 GB, free: 13.11 MB / 430.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.0005431/0.182, allocations: 372.8 kB / 0.5625 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1822, allocations: 54.55 kB / 0.5625 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.1823, allocations: 20.88 kB / 0.5625 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02223/0.2045, allocations: 10.41 MB / 0.5727 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.2046, allocations: 34.56 kB / 0.5727 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.725e-06/0.2046, allocations: 0 / 0.5727 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005647/0.2052, allocations: 113.5 kB / 0.5728 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.2053, allocations: 55.39 kB / 0.5729 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.2054, allocations: 97.86 kB / 0.573 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.2054, allocations: 29.7 kB / 0.573 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.2055, allocations: 96.03 kB / 0.5731 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.2055, allocations: 15.89 kB / 0.5731 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.2056, allocations: 21.72 kB / 0.5731 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2057, allocations: 318.7 kB / 0.5734 GB, free: 192 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.2058, allocations: 7.984 kB / 0.5735 GB, free: 184 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.2058, allocations: 26.58 kB / 0.5735 GB, free: 148 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.811e-05/0.2059, allocations: 46.5 kB / 0.5735 GB, free: 92 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2059, allocations: 0 / 0.5735 GB, free: 92 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001123/0.206, allocations: 62.05 kB / 0.5736 GB, free: 24 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2061, allocations: 4 kB / 0.5736 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2061, allocations: 4 kB / 0.5736 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2061, allocations: 0 / 0.5736 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.2062, allocations: 8 kB / 0.5736 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2062, allocations: 0 / 0.5736 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.2063, allocations: 12.05 kB / 0.5736 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2063, allocations: 7.938 kB / 0.5736 GB, free: 15.98 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.0001147/0.2064, allocations: 117.8 kB / 0.5737 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.2064, allocations: 3.938 kB / 0.5737 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.2069, allocations: 374.9 kB / 0.5741 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.207, allocations: 7.984 kB / 0.5741 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.207, allocations: 0 / 0.5741 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.207, allocations: 0 / 0.5741 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.2073, allocations: 290 kB / 0.5744 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2073, allocations: 4 kB / 0.5744 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.2074, allocations: 7.984 kB / 0.5744 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.2074, allocations: 0 / 0.5744 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2074, allocations: 7.938 kB / 0.5744 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2074, allocations: 0 / 0.5744 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2074, allocations: 0 / 0.5744 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.2077, allocations: 285.7 kB / 0.5747 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.2078, allocations: 92.95 kB / 0.5748 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2078, allocations: 4 kB / 0.5748 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.2078, allocations: 4 kB / 0.5748 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.2079, allocations: 4.234 kB / 0.5748 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.2079, allocations: 0 / 0.5748 GB, free: 14.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.938e-05/0.2079, allocations: 87.22 kB / 0.5748 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.406e-06/0.208, allocations: 0 / 0.5748 GB, free: 14.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001423/0.2094, allocations: 451.3 kB / 0.5753 GB, free: 14.18 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.00195/0.2113, allocations: 0.5647 MB / 0.5758 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.2116, allocations: 83.84 kB / 0.5759 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2116, allocations: 4 kB / 0.5759 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2117, allocations: 83.92 kB / 0.576 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.212, allocations: 20.11 kB / 0.576 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.2126, allocations: 284.5 kB / 0.5763 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.213, allocations: 0.7086 MB / 0.577 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.766e-05/0.2131, allocations: 27.95 kB / 0.577 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.2131, allocations: 15.44 kB / 0.577 GB, free: 12.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.074e-06/0.2131, allocations: 0 / 0.577 GB, free: 12.34 MB / 446.1 MB Notification: Performance of Templates: time 0.02205/0.2352, allocations: 13.72 MB / 0.5904 GB, free: 14.61 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.416400165297091]