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.001407/0.001407, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001513/0.001513, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.441/1.441, allocations: 230.3 MB / 258 MB, free: 8.23 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.2361/0.2361, allocations: 46.94 MB / 361.4 MB, free: 4.406 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.002415/0.002415, allocations: 87.84 kB / 0.4971 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3842, allocations: 66.03 MB / 0.5616 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.018/0.4022, allocations: 12.62 MB / 0.574 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.404, allocations: 1.401 MB / 0.5753 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.404, allocations: 0 / 0.5753 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.4042, allocations: 27.81 kB / 0.5754 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007462/0.4117, allocations: 2.24 MB / 0.5775 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.59e-06/0.4117, allocations: 4 kB / 0.5775 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.4118, allocations: 39.73 kB / 0.5776 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.4119, allocations: 4 kB / 0.5776 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.568e-05/0.412, allocations: 19.86 kB / 0.5776 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.412, allocations: 15.92 kB / 0.5776 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.412, allocations: 0 / 0.5776 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007496/0.4195, allocations: 3.855 MB / 0.5814 GB, free: 260 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.4195, allocations: 3.984 kB / 0.5814 GB, free: 256 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.4196, allocations: 11.94 kB / 0.5814 GB, free: 244 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.4233, allocations: 1.988 MB / 0.5833 GB, free: 14.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4233, allocations: 0 / 0.5833 GB, free: 14.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4233, allocations: 0 / 0.5833 GB, free: 14.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.4233, allocations: 0 / 0.5833 GB, free: 14.25 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.00134/0.4247, allocations: 496.7 kB / 0.5838 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4247, allocations: 12.03 kB / 0.5838 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.4249, allocations: 16.88 kB / 0.5838 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.425, allocations: 114.4 kB / 0.584 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.425, allocations: 4.375 kB / 0.584 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.425, allocations: 4.375 kB / 0.584 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.4253, allocations: 95.47 kB / 0.5841 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4253, allocations: 0 / 0.5841 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4254, allocations: 0 / 0.5841 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4254, allocations: 4 kB / 0.5841 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.4255, allocations: 47.91 kB / 0.5841 GB, free: 13.4 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.0005571/0.4261, allocations: 336 kB / 0.5844 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.4263, allocations: 58.52 kB / 0.5845 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.4263, allocations: 8.859 kB / 0.5845 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01878/0.4451, allocations: 5.656 MB / 0.59 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.4452, allocations: 34.56 kB / 0.59 GB, free: 7.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.4452, allocations: 3.938 kB / 0.59 GB, free: 7.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004985/0.4457, allocations: 101.6 kB / 0.5901 GB, free: 7.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.4457, allocations: 55.41 kB / 0.5902 GB, free: 7.066 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.4458, allocations: 101.8 kB / 0.5903 GB, free: 6.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4458, allocations: 33.64 kB / 0.5903 GB, free: 6.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.4459, allocations: 84.09 kB / 0.5904 GB, free: 6.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.4459, allocations: 19.78 kB / 0.5904 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.4459, allocations: 25.7 kB / 0.5904 GB, free: 6.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4461, allocations: 314.8 kB / 0.5907 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.4461, allocations: 8 kB / 0.5908 GB, free: 6.457 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.4462, allocations: 34.56 kB / 0.5908 GB, free: 6.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.278e-05/0.4462, allocations: 34.52 kB / 0.5908 GB, free: 6.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4462, allocations: 0 / 0.5908 GB, free: 6.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000199/0.4464, allocations: 65.61 kB / 0.5909 GB, free: 6.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4465, allocations: 4 kB / 0.5909 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4465, allocations: 4.125 kB / 0.5909 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4465, allocations: 8.062 kB / 0.5909 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.4466, allocations: 11.94 kB / 0.5909 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4466, allocations: 0 / 0.5909 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.4466, allocations: 11.95 kB / 0.5909 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4466, allocations: 3.938 kB / 0.5909 GB, free: 6.258 MB / 430.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.14e-05/0.4467, allocations: 109.8 kB / 0.591 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.4467, allocations: 7.984 kB / 0.591 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.4472, allocations: 387.2 kB / 0.5914 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.4472, allocations: 4 kB / 0.5914 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4472, allocations: 0 / 0.5914 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4472, allocations: 4 kB / 0.5914 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.4476, allocations: 261.2 kB / 0.5917 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4476, allocations: 7.938 kB / 0.5917 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.4476, allocations: 4 kB / 0.5917 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4476, allocations: 0 / 0.5917 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.4476, allocations: 0 / 0.5917 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4476, allocations: 3.984 kB / 0.5917 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4476, allocations: 432 / 0.5917 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.4479, allocations: 293.7 kB / 0.592 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.4479, allocations: 15.84 kB / 0.592 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.448, allocations: 4 kB / 0.592 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.038e-05/0.448, allocations: 4 kB / 0.592 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.448, allocations: 3.984 kB / 0.592 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.448, allocations: 7.984 kB / 0.592 GB, free: 5.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.914e-05/0.4481, allocations: 83.16 kB / 0.5921 GB, free: 5.008 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4481, allocations: 8 kB / 0.5921 GB, free: 5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001451/0.4495, allocations: 447.3 kB / 0.5925 GB, free: 4.562 MB / 430.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.00177/0.4513, allocations: 0.5615 MB / 0.5931 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.4515, allocations: 87.92 kB / 0.5931 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4515, allocations: 0 / 0.5931 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.4517, allocations: 71.91 kB / 0.5932 GB, free: 3.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.452, allocations: 19.97 kB / 0.5932 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.4525, allocations: 305 kB / 0.5935 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4529, allocations: 0.7126 MB / 0.5942 GB, free: 2.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.021e-05/0.453, allocations: 19.97 kB / 0.5942 GB, free: 2.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.453, allocations: 19.31 kB / 0.5943 GB, free: 2.711 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.453, allocations: 4 kB / 0.5943 GB, free: 2.707 MB / 430.1 MB Notification: Performance of Templates: time 0.02267/0.4757, allocations: 13.85 MB / 0.6078 GB, free: 4.848 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/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-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: 5.584837163798511]