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.001756/0.001756, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.00228/0.00228, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.573/1.573, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2503/0.2503, allocations: 46.92 MB / 357.1 MB, free: 10.28 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.00213/0.00213, allocations: 71.89 kB / 0.4914 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1451, allocations: 65.99 MB / 0.5558 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01895/0.1641, allocations: 12.54 MB / 0.5681 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1661, allocations: 1.401 MB / 0.5695 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.1662, allocations: 0 / 0.5695 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1664, allocations: 35.8 kB / 0.5695 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007952/0.1744, allocations: 2.232 MB / 0.5717 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.895e-06/0.1744, allocations: 0 / 0.5717 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1745, allocations: 47.67 kB / 0.5717 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.1746, allocations: 3.938 kB / 0.5717 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/0.1747, allocations: 19.91 kB / 0.5717 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.189e-05/0.1747, allocations: 11.94 kB / 0.5717 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1747, allocations: 0 / 0.5717 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007767/0.1825, allocations: 3.851 MB / 0.5755 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1825, allocations: 3.938 kB / 0.5755 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.1826, allocations: 15.92 kB / 0.5755 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004394/0.187, allocations: 1.984 MB / 0.5775 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.187, allocations: 0 / 0.5775 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.187, allocations: 0 / 0.5775 GB, free: 15.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.187, allocations: 0 / 0.5775 GB, free: 15.07 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.001265/0.1883, allocations: 0.5681 MB / 0.578 GB, free: 14.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1883, allocations: 12.03 kB / 0.578 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.1884, allocations: 12.89 kB / 0.578 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1886, allocations: 172.4 kB / 0.5782 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1886, allocations: 384 / 0.5782 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.1886, allocations: 8.312 kB / 0.5782 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1889, allocations: 87.5 kB / 0.5783 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1889, allocations: 0 / 0.5783 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1889, allocations: 3.938 kB / 0.5783 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1889, allocations: 4 kB / 0.5783 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1891, allocations: 55.89 kB / 0.5784 GB, free: 14.06 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.0004763/0.1896, allocations: 360.9 kB / 0.5787 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1898, allocations: 58.56 kB / 0.5788 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.1898, allocations: 12.86 kB / 0.5788 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02475/0.2145, allocations: 10.42 MB / 0.5889 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.2146, allocations: 30.56 kB / 0.589 GB, free: 1.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.2146, allocations: 0 / 0.589 GB, free: 1.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005723/0.2152, allocations: 105.6 kB / 0.5891 GB, free: 1.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.2152, allocations: 59.41 kB / 0.5891 GB, free: 1.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2153, allocations: 101.8 kB / 0.5892 GB, free: 1.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2153, allocations: 25.7 kB / 0.5893 GB, free: 1.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.2154, allocations: 92.09 kB / 0.5893 GB, free: 1.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.2154, allocations: 15.84 kB / 0.5894 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.2155, allocations: 21.7 kB / 0.5894 GB, free: 1.473 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2157, allocations: 322.8 kB / 0.5897 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.2157, allocations: 8 kB / 0.5897 GB, free: 1.141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.561e-05/0.2157, allocations: 26.56 kB / 0.5897 GB, free: 1.105 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.2158, allocations: 38.52 kB / 0.5898 GB, free: 1.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2158, allocations: 0 / 0.5898 GB, free: 1.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001315/0.216, allocations: 66.12 kB / 0.5898 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.216, allocations: 8.062 kB / 0.5898 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.216, allocations: 7.984 kB / 0.5898 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.216, allocations: 4 kB / 0.5898 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.2161, allocations: 8 kB / 0.5898 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2161, allocations: 3.938 kB / 0.5898 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.2161, allocations: 4 kB / 0.5899 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2162, allocations: 11.92 kB / 0.5899 GB, free: 0.9414 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.0001059/0.2163, allocations: 116 kB / 0.59 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.2163, allocations: 0 / 0.59 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.2168, allocations: 374.9 kB / 0.5903 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.2168, allocations: 7.984 kB / 0.5903 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2168, allocations: 0 / 0.5903 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2168, allocations: 0 / 0.5903 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.2171, allocations: 290.1 kB / 0.5906 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2171, allocations: 4 kB / 0.5906 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.2172, allocations: 7.938 kB / 0.5906 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2172, allocations: 0 / 0.5906 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.2172, allocations: 0 / 0.5906 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2172, allocations: 0 / 0.5906 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2172, allocations: 4 kB / 0.5906 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3258/0.543, allocations: 290.2 kB / 0.5909 GB, free: 36.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.543, allocations: 91.31 kB / 0.591 GB, free: 36.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.5431, allocations: 4.969 kB / 0.591 GB, free: 36.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.5431, allocations: 1.375 kB / 0.591 GB, free: 36.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.5432, allocations: 2.156 kB / 0.591 GB, free: 36.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.5432, allocations: 5.156 kB / 0.591 GB, free: 36.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.89e-05/0.5432, allocations: 81.77 kB / 0.5911 GB, free: 36.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5432, allocations: 0 / 0.5911 GB, free: 36.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001476/0.5447, allocations: 455.3 kB / 0.5915 GB, free: 36.81 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.002737/0.5474, allocations: 0.5481 MB / 0.5921 GB, free: 36.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.5476, allocations: 83.8 kB / 0.5921 GB, free: 36.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5476, allocations: 3.812 kB / 0.5921 GB, free: 36.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.5477, allocations: 64.97 kB / 0.5922 GB, free: 36.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.5481, allocations: 16.19 kB / 0.5922 GB, free: 36.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.5487, allocations: 302 kB / 0.5925 GB, free: 36.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.5489, allocations: 0.7095 MB / 0.5932 GB, free: 35.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.637e-05/0.549, allocations: 27.48 kB / 0.5932 GB, free: 35.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.549, allocations: 14.59 kB / 0.5932 GB, free: 35.86 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.549, allocations: 0 / 0.5932 GB, free: 35.86 MB / 446.1 MB Notification: Performance of Templates: time 0.03109/0.5801, allocations: 13.72 MB / 0.6066 GB, free: 32.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins/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: 6.272351391613483]