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.00128/0.00128, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001454/0.001454, allocations: 214.8 kB / 24.48 MB, free: 3.836 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.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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.2316/0.2316, allocations: 46.95 MB / 361.6 MB, free: 3.91 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.002503/0.002503, allocations: 83.81 kB / 0.4974 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3551, allocations: 66.08 MB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01736/0.3725, allocations: 11.48 MB / 0.5731 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3741, allocations: 1.214 MB / 0.5743 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.3741, allocations: 4 kB / 0.5743 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.3743, allocations: 23.83 kB / 0.5743 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.3805, allocations: 2.211 MB / 0.5765 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.642e-06/0.3805, allocations: 0 / 0.5765 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3807, allocations: 39.73 kB / 0.5765 GB, free: 4.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.3807, allocations: 4 kB / 0.5765 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.3808, allocations: 15.94 kB / 0.5765 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.3808, allocations: 19.91 kB / 0.5765 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.3808, allocations: 0 / 0.5765 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006987/0.3878, allocations: 3.703 MB / 0.5802 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3879, allocations: 0 / 0.5802 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.3879, allocations: 15.94 kB / 0.5802 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.3921, allocations: 1.976 MB / 0.5821 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3921, allocations: 0 / 0.5821 GB, free: 15.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3921, allocations: 0 / 0.5821 GB, free: 15.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3921, allocations: 0 / 0.5821 GB, free: 15.22 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.00131/0.3934, allocations: 0.4927 MB / 0.5826 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3935, allocations: 8.031 kB / 0.5826 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.3937, allocations: 20.88 kB / 0.5826 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3938, allocations: 114.4 kB / 0.5827 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3938, allocations: 4.375 kB / 0.5827 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.3938, allocations: 4.375 kB / 0.5827 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.3941, allocations: 95.47 kB / 0.5828 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3941, allocations: 0 / 0.5828 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3941, allocations: 4 kB / 0.5828 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3941, allocations: 0 / 0.5828 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.3943, allocations: 51.89 kB / 0.5829 GB, free: 14.37 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.0004858/0.3948, allocations: 304.6 kB / 0.5832 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.395, allocations: 50.55 kB / 0.5832 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.395, allocations: 20.88 kB / 0.5832 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01951/0.4145, allocations: 5.687 MB / 0.5888 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.4146, allocations: 34.56 kB / 0.5888 GB, free: 8.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.4146, allocations: 0 / 0.5888 GB, free: 8.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004915/0.4151, allocations: 101.6 kB / 0.5889 GB, free: 8.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.4151, allocations: 51.41 kB / 0.589 GB, free: 8.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4152, allocations: 101.9 kB / 0.5891 GB, free: 7.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4153, allocations: 29.7 kB / 0.5891 GB, free: 7.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.4153, allocations: 88.08 kB / 0.5892 GB, free: 7.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.4153, allocations: 19.84 kB / 0.5892 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.4154, allocations: 17.72 kB / 0.5892 GB, free: 7.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4155, allocations: 322.8 kB / 0.5895 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.4156, allocations: 11.94 kB / 0.5895 GB, free: 7.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.4156, allocations: 22.58 kB / 0.5896 GB, free: 7.402 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.568e-05/0.4157, allocations: 38.56 kB / 0.5896 GB, free: 7.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4157, allocations: 0 / 0.5896 GB, free: 7.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001195/0.4158, allocations: 69.58 kB / 0.5897 GB, free: 7.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4158, allocations: 4 kB / 0.5897 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4158, allocations: 0 / 0.5897 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4158, allocations: 7.938 kB / 0.5897 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.4159, allocations: 16.06 kB / 0.5897 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4159, allocations: 3.984 kB / 0.5897 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.416, allocations: 8 kB / 0.5897 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.416, allocations: 0 / 0.5897 GB, free: 7.242 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.721e-05/0.4161, allocations: 117.8 kB / 0.5898 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.4161, allocations: 4.062 kB / 0.5898 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.4166, allocations: 399 kB / 0.5902 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4166, allocations: 3.984 kB / 0.5902 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4166, allocations: 0 / 0.5902 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4166, allocations: 3.938 kB / 0.5902 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.4169, allocations: 225.8 kB / 0.5904 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4169, allocations: 0 / 0.5904 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.4169, allocations: 8 kB / 0.5904 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4169, allocations: 3.984 kB / 0.5904 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4169, allocations: 0 / 0.5904 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4169, allocations: 4 kB / 0.5904 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4169, allocations: 4 kB / 0.5904 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.4172, allocations: 293.7 kB / 0.5907 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.4172, allocations: 11.89 kB / 0.5907 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.4172, allocations: 0 / 0.5907 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.4173, allocations: 4.359 kB / 0.5907 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.4173, allocations: 7.984 kB / 0.5907 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4173, allocations: 4 kB / 0.5907 GB, free: 6.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.4174, allocations: 83.27 kB / 0.5908 GB, free: 6.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4174, allocations: 0 / 0.5908 GB, free: 6.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001243/0.4186, allocations: 451.3 kB / 0.5913 GB, free: 5.586 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.001757/0.4204, allocations: 0.5531 MB / 0.5918 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.4206, allocations: 95.97 kB / 0.5919 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4206, allocations: 0 / 0.5919 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/0.4206, allocations: 68.11 kB / 0.592 GB, free: 4.863 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.421, allocations: 19.92 kB / 0.592 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.4215, allocations: 334.7 kB / 0.5923 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.624e-05/0.4216, allocations: 101.7 kB / 0.5924 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.4217, allocations: 15.44 kB / 0.5924 GB, free: 4.344 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4217, allocations: 0 / 0.5924 GB, free: 4.344 MB / 430.1 MB Notification: Performance of Templates: time 0.01702/0.4387, allocations: 9.067 MB / 0.6013 GB, free: 11.26 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: 8.347017248161137]