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.00158/0.00158, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001686/0.001686, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.344/1.344, allocations: 230.5 MB / 258.1 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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.2035/0.2035, allocations: 46.92 MB / 361.5 MB, free: 4.156 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.002112/0.002112, allocations: 75.88 kB / 0.4974 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2588, allocations: 66.08 MB / 0.5619 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0154/0.2742, allocations: 12.61 MB / 0.5743 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2757, allocations: 1.401 MB / 0.5756 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.2758, allocations: 0 / 0.5756 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.2759, allocations: 35.8 kB / 0.5757 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005181/0.2811, allocations: 2.228 MB / 0.5778 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.2811, allocations: 4 kB / 0.5778 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.2812, allocations: 43.67 kB / 0.5779 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.2812, allocations: 3.938 kB / 0.5779 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.2813, allocations: 16 kB / 0.5779 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.2814, allocations: 19.91 kB / 0.5779 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.705e-06/0.2814, allocations: 3.938 kB / 0.5779 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006385/0.2878, allocations: 3.855 MB / 0.5817 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.2878, allocations: 4 kB / 0.5817 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.2878, allocations: 23.81 kB / 0.5817 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.2908, allocations: 1.976 MB / 0.5836 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2908, allocations: 4 kB / 0.5836 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2908, allocations: 0 / 0.5836 GB, free: 13.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.2908, allocations: 0 / 0.5836 GB, free: 13.95 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.001035/0.2919, allocations: 496.7 kB / 0.5841 GB, free: 13.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2919, allocations: 12.03 kB / 0.5841 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.292, allocations: 16.89 kB / 0.5841 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2922, allocations: 118.4 kB / 0.5843 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2922, allocations: 4.359 kB / 0.5843 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2922, allocations: 4.375 kB / 0.5843 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.2924, allocations: 87.5 kB / 0.5843 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2924, allocations: 0 / 0.5843 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2924, allocations: 4 kB / 0.5844 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2924, allocations: 8 kB / 0.5844 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.2926, allocations: 47.89 kB / 0.5844 GB, free: 13.1 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.0004237/0.293, allocations: 336 kB / 0.5847 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.2932, allocations: 58.53 kB / 0.5848 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.2932, allocations: 12.86 kB / 0.5848 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/0.3113, allocations: 5.652 MB / 0.5903 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3114, allocations: 34.5 kB / 0.5903 GB, free: 6.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.983e-06/0.3114, allocations: 0 / 0.5903 GB, free: 6.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004334/0.3118, allocations: 105.6 kB / 0.5904 GB, free: 6.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3119, allocations: 55.41 kB / 0.5905 GB, free: 6.762 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.3119, allocations: 101.8 kB / 0.5906 GB, free: 6.652 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.312, allocations: 25.7 kB / 0.5906 GB, free: 6.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.312, allocations: 92.03 kB / 0.5907 GB, free: 6.527 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.312, allocations: 15.83 kB / 0.5907 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.3121, allocations: 21.7 kB / 0.5907 GB, free: 6.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3122, allocations: 322.8 kB / 0.5911 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.851e-05/0.3122, allocations: 4 kB / 0.5911 GB, free: 6.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.3123, allocations: 34.5 kB / 0.5911 GB, free: 6.113 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.467e-05/0.3123, allocations: 34.58 kB / 0.5911 GB, free: 6.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3123, allocations: 4 kB / 0.5911 GB, free: 6.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.93e-05/0.3124, allocations: 62.05 kB / 0.5912 GB, free: 6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3125, allocations: 7.938 kB / 0.5912 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.3125, allocations: 4.062 kB / 0.5912 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3125, allocations: 7.984 kB / 0.5912 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.3125, allocations: 11.94 kB / 0.5912 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3125, allocations: 0 / 0.5912 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.3126, allocations: 3.953 kB / 0.5912 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3126, allocations: 7.938 kB / 0.5912 GB, free: 5.957 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 8.922e-05/0.3127, allocations: 115.2 kB / 0.5913 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.3127, allocations: 3.984 kB / 0.5913 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.3131, allocations: 395.1 kB / 0.5917 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3131, allocations: 3.984 kB / 0.5917 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3131, allocations: 3.938 kB / 0.5917 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3131, allocations: 0 / 0.5917 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.3134, allocations: 265.2 kB / 0.592 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3134, allocations: 0 / 0.592 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.3135, allocations: 8 kB / 0.592 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3135, allocations: 0 / 0.592 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3135, allocations: 0 / 0.592 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3135, allocations: 0 / 0.592 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3135, allocations: 0 / 0.592 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3137, allocations: 298 kB / 0.5923 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.3137, allocations: 19.83 kB / 0.5923 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3138, allocations: 4 kB / 0.5923 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/0.3138, allocations: 4 kB / 0.5923 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.3138, allocations: 0 / 0.5923 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3138, allocations: 3.938 kB / 0.5923 GB, free: 4.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.3139, allocations: 95.14 kB / 0.5924 GB, free: 4.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3139, allocations: 4 kB / 0.5924 GB, free: 4.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001076/0.315, allocations: 451.3 kB / 0.5928 GB, free: 4.246 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.001595/0.3166, allocations: 0.5414 MB / 0.5934 GB, free: 3.695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.3167, allocations: 95.91 kB / 0.5934 GB, free: 3.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3167, allocations: 0 / 0.5934 GB, free: 3.602 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/0.3168, allocations: 71.91 kB / 0.5935 GB, free: 3.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.3171, allocations: 7.984 kB / 0.5935 GB, free: 3.523 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.3176, allocations: 342.6 kB / 0.5938 GB, free: 3.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.318, allocations: 0.7127 MB / 0.5945 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.318, allocations: 15.38 kB / 0.5946 GB, free: 2.398 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.318, allocations: 0 / 0.5946 GB, free: 2.398 MB / 430.1 MB Notification: Performance of Templates: time 0.01326/0.3312, allocations: 9.034 MB / 0.6034 GB, free: 9.348 MB / 446.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/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_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: 7.398528455989435]