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.001556/0.001556, allocations: 118.8 kB / 19.18 MB, free: 3.762 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.001708/0.001708, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.495/1.495, allocations: 230.2 MB / 255.1 MB, free: 15.24 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.2437/0.2437, allocations: 46.88 MB / 358.1 MB, free: 10.5 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.002243/0.002243, allocations: 75.88 kB / 0.4923 GB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1261, allocations: 65.98 MB / 0.5568 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01674/0.1429, allocations: 12.55 MB / 0.569 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1445, allocations: 1.401 MB / 0.5704 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.1445, allocations: 0 / 0.5704 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1447, allocations: 31.81 kB / 0.5704 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.1505, allocations: 2.232 MB / 0.5726 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.032e-06/0.1505, allocations: 0 / 0.5726 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1506, allocations: 43.72 kB / 0.5726 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.1507, allocations: 11.94 kB / 0.5727 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.1508, allocations: 11.98 kB / 0.5727 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.1508, allocations: 15.94 kB / 0.5727 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.1508, allocations: 0 / 0.5727 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007098/0.1579, allocations: 3.851 MB / 0.5764 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.1579, allocations: 7.938 kB / 0.5765 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.158, allocations: 19.88 kB / 0.5765 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.1617, allocations: 1.977 MB / 0.5784 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1617, allocations: 0 / 0.5784 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1617, allocations: 0 / 0.5784 GB, free: 15.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1617, allocations: 4 kB / 0.5784 GB, free: 15.71 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.001218/0.1629, allocations: 0.5642 MB / 0.579 GB, free: 15.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1629, allocations: 8.031 kB / 0.579 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1631, allocations: 12.89 kB / 0.579 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1632, allocations: 180.1 kB / 0.5792 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1633, allocations: 4.375 kB / 0.5792 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1633, allocations: 4.375 kB / 0.5792 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.1635, allocations: 83.5 kB / 0.5792 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1635, allocations: 0 / 0.5792 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.1636, allocations: 8 kB / 0.5792 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1636, allocations: 0 / 0.5792 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1637, allocations: 47.89 kB / 0.5793 GB, free: 14.71 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.0004731/0.1642, allocations: 364.9 kB / 0.5796 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1644, allocations: 54.53 kB / 0.5797 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.1644, allocations: 16.86 kB / 0.5797 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02264/0.1871, allocations: 10.42 MB / 0.5899 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.1871, allocations: 30.56 kB / 0.5899 GB, free: 2.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.1871, allocations: 0 / 0.5899 GB, free: 2.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005166/0.1876, allocations: 105.8 kB / 0.59 GB, free: 2.473 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1877, allocations: 51.41 kB / 0.5901 GB, free: 2.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1878, allocations: 113.8 kB / 0.5902 GB, free: 2.289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1878, allocations: 29.7 kB / 0.5902 GB, free: 2.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.1879, allocations: 88.03 kB / 0.5903 GB, free: 2.164 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.1879, allocations: 15.91 kB / 0.5903 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.1879, allocations: 21.7 kB / 0.5903 GB, free: 2.121 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1881, allocations: 314.8 kB / 0.5906 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.1881, allocations: 7.938 kB / 0.5906 GB, free: 1.797 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.1881, allocations: 30.56 kB / 0.5907 GB, free: 1.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.1882, allocations: 38.58 kB / 0.5907 GB, free: 1.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1882, allocations: 0 / 0.5907 GB, free: 1.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001175/0.1883, allocations: 61.62 kB / 0.5907 GB, free: 1.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1883, allocations: 6.031 kB / 0.5908 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1883, allocations: 4 kB / 0.5908 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1884, allocations: 3.984 kB / 0.5908 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.1884, allocations: 16 kB / 0.5908 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1884, allocations: 0 / 0.5908 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.1885, allocations: 15.83 kB / 0.5908 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1885, allocations: 7.938 kB / 0.5908 GB, free: 1.594 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 8.359e-05/0.1886, allocations: 109.8 kB / 0.5909 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.1886, allocations: 0 / 0.5909 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.189, allocations: 378.9 kB / 0.5913 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.189, allocations: 7.984 kB / 0.5913 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.189, allocations: 4 kB / 0.5913 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1891, allocations: 192 / 0.5913 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.1894, allocations: 290.1 kB / 0.5916 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1894, allocations: 0 / 0.5916 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.1894, allocations: 4 kB / 0.5916 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1894, allocations: 0 / 0.5916 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1894, allocations: 8 kB / 0.5916 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1894, allocations: 0 / 0.5916 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1894, allocations: 0 / 0.5916 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1897, allocations: 289.7 kB / 0.5918 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.1897, allocations: 96.94 kB / 0.5919 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1898, allocations: 0 / 0.5919 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.1898, allocations: 4 kB / 0.5919 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.1898, allocations: 3.938 kB / 0.5919 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.1898, allocations: 3.938 kB / 0.5919 GB, free: 328 kB / 446.1 MB Notification: Performance of sorting global known variables: time 5.514e-05/0.1899, allocations: 91.2 kB / 0.592 GB, free: 236 kB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1899, allocations: 0 / 0.592 GB, free: 236 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.2384/0.4283, allocations: 444.6 kB / 0.5925 GB, free: 37.47 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.00204/0.4303, allocations: 0.549 MB / 0.593 GB, free: 37.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.4305, allocations: 81.5 kB / 0.5931 GB, free: 37.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4305, allocations: 0.5625 kB / 0.5931 GB, free: 37.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.4306, allocations: 63.94 kB / 0.5931 GB, free: 37.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.431, allocations: 18.36 kB / 0.5932 GB, free: 37.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.4315, allocations: 322.8 kB / 0.5935 GB, free: 37.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.4316, allocations: 0.7114 MB / 0.5942 GB, free: 36.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.4316, allocations: 12.44 kB / 0.5942 GB, free: 36.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4316, allocations: 0 / 0.5942 GB, free: 36.5 MB / 446.1 MB Notification: Performance of Templates: time 0.01909/0.4507, allocations: 9.036 MB / 0.603 GB, free: 35.44 MB / 446.1 MB " [Timeout remaining time 660] 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.64443301805295]