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.002031/0.002031, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.002523/0.002523, allocations: 220.9 kB / 25.13 MB, free: 3.609 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.542/1.542, allocations: 230.4 MB / 258.7 MB, free: 8.055 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.2297/0.2297, allocations: 46.94 MB / 362 MB, free: 4.238 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.002577/0.002577, allocations: 79.86 kB / 0.4978 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3273, allocations: 66.07 MB / 0.5623 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01769/0.345, allocations: 12.51 MB / 0.5745 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.3468, allocations: 1.386 MB / 0.5759 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.3468, allocations: 0 / 0.5759 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.347, allocations: 35.78 kB / 0.5759 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007043/0.3541, allocations: 2.235 MB / 0.5781 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.634e-06/0.3541, allocations: 0 / 0.5781 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3542, allocations: 39.69 kB / 0.5781 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.3543, allocations: 4 kB / 0.5781 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.825e-05/0.3544, allocations: 11.98 kB / 0.5781 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.3544, allocations: 23.92 kB / 0.5782 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.3544, allocations: 0 / 0.5782 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007239/0.3617, allocations: 3.835 MB / 0.5819 GB, free: 160 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.3617, allocations: 4 kB / 0.5819 GB, free: 156 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.3617, allocations: 15.88 kB / 0.5819 GB, free: 140 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.3656, allocations: 1.98 MB / 0.5839 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3656, allocations: 0 / 0.5839 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3657, allocations: 0 / 0.5839 GB, free: 14.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3657, allocations: 0 / 0.5839 GB, free: 14.15 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.001335/0.367, allocations: 496.7 kB / 0.5843 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.367, allocations: 8.031 kB / 0.5843 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.3672, allocations: 20.88 kB / 0.5844 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3673, allocations: 114.4 kB / 0.5845 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3673, allocations: 4.375 kB / 0.5845 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-06/0.3673, allocations: 4.375 kB / 0.5845 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.3676, allocations: 87.5 kB / 0.5846 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3676, allocations: 0 / 0.5846 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3676, allocations: 4 kB / 0.5846 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3677, allocations: 0 / 0.5846 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.3678, allocations: 51.89 kB / 0.5846 GB, free: 13.31 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.0005157/0.3684, allocations: 336 kB / 0.5849 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3685, allocations: 54.53 kB / 0.585 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.3686, allocations: 16.8 kB / 0.585 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01862/0.3872, allocations: 5.66 MB / 0.5905 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.3873, allocations: 30.56 kB / 0.5906 GB, free: 7.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.3873, allocations: 0 / 0.5906 GB, free: 7.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005549/0.3878, allocations: 105.6 kB / 0.5907 GB, free: 7.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3879, allocations: 51.41 kB / 0.5907 GB, free: 6.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.388, allocations: 97.84 kB / 0.5908 GB, free: 6.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.388, allocations: 29.7 kB / 0.5908 GB, free: 6.836 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.3881, allocations: 96.03 kB / 0.5909 GB, free: 6.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.3881, allocations: 11.84 kB / 0.5909 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3881, allocations: 25.7 kB / 0.591 GB, free: 6.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3883, allocations: 318.8 kB / 0.5913 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.3883, allocations: 7.938 kB / 0.5913 GB, free: 6.367 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-05/0.3883, allocations: 30.56 kB / 0.5913 GB, free: 6.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.3884, allocations: 38.58 kB / 0.5913 GB, free: 6.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3884, allocations: 0 / 0.5913 GB, free: 6.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001107/0.3885, allocations: 61.62 kB / 0.5914 GB, free: 6.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.3886, allocations: 10.02 kB / 0.5914 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3886, allocations: 4 kB / 0.5914 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3886, allocations: 0 / 0.5914 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.3887, allocations: 11.94 kB / 0.5914 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3887, allocations: 3.938 kB / 0.5914 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.3887, allocations: 12.02 kB / 0.5914 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3887, allocations: 3.938 kB / 0.5914 GB, free: 6.172 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.9e-05/0.3888, allocations: 113.8 kB / 0.5916 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3888, allocations: 0 / 0.5916 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.3893, allocations: 395.1 kB / 0.5919 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.3893, allocations: 4.172 kB / 0.5919 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3893, allocations: 4 kB / 0.5919 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3893, allocations: 0 / 0.5919 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.3896, allocations: 269.2 kB / 0.5922 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3896, allocations: 0 / 0.5922 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.3896, allocations: 8 kB / 0.5922 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3896, allocations: 0 / 0.5922 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3897, allocations: 0 / 0.5922 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3897, allocations: 0 / 0.5922 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3897, allocations: 0 / 0.5922 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.39, allocations: 297.7 kB / 0.5925 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.39, allocations: 16.27 kB / 0.5925 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.39, allocations: 8 kB / 0.5925 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.3901, allocations: 7.875 kB / 0.5925 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.3901, allocations: 0 / 0.5925 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3901, allocations: 4 kB / 0.5925 GB, free: 4.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.123e-05/0.3901, allocations: 91.19 kB / 0.5926 GB, free: 4.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3901, allocations: 0 / 0.5926 GB, free: 4.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001303/0.3914, allocations: 451.3 kB / 0.593 GB, free: 4.465 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.001742/0.3932, allocations: 0.5531 MB / 0.5936 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.3934, allocations: 87.86 kB / 0.5937 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3934, allocations: 0 / 0.5937 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.3934, allocations: 67.97 kB / 0.5937 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3938, allocations: 20.09 kB / 0.5937 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.3943, allocations: 317.1 kB / 0.594 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3946, allocations: 0.7125 MB / 0.5947 GB, free: 2.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.3947, allocations: 27.91 kB / 0.5948 GB, free: 2.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.3947, allocations: 11.44 kB / 0.5948 GB, free: 2.613 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3947, allocations: 0 / 0.5948 GB, free: 2.613 MB / 430.1 MB Notification: Performance of Templates: time 0.0211/0.4158, allocations: 13.85 MB / 0.6083 GB, free: 4.758 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 -s gbode -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/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-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.546505925012752]