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.00152/0.00152, allocations: 112.3 kB / 20.48 MB, free: 1.121 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.001633/0.001633, allocations: 214.6 kB / 23.78 MB, free: 4.316 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.526/1.526, allocations: 230.5 MB / 257.5 MB, free: 7.926 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.2649/0.2649, allocations: 46.95 MB / 360.9 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 179] 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.002526/0.002526, allocations: 79.88 kB / 0.4967 GB, free: 7.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3536, allocations: 66.09 MB / 0.5613 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01615/0.3697, allocations: 11.46 MB / 0.5724 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3713, allocations: 1.226 MB / 0.5736 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.3713, allocations: 0 / 0.5736 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.3715, allocations: 31.81 kB / 0.5737 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006698/0.3782, allocations: 2.206 MB / 0.5758 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.987e-06/0.3782, allocations: 0 / 0.5758 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3783, allocations: 35.73 kB / 0.5759 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.3784, allocations: 0 / 0.5759 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.3785, allocations: 27.86 kB / 0.5759 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.3785, allocations: 15.92 kB / 0.5759 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.3786, allocations: 3.938 kB / 0.5759 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007991/0.3865, allocations: 3.703 MB / 0.5795 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.3866, allocations: 0 / 0.5795 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.701e-05/0.3867, allocations: 11.94 kB / 0.5795 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.3916, allocations: 1.98 MB / 0.5815 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.3916, allocations: 0 / 0.5815 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3916, allocations: 4 kB / 0.5815 GB, free: 15.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3916, allocations: 0 / 0.5815 GB, free: 15.19 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.001538/0.3931, allocations: 0.4889 MB / 0.582 GB, free: 14.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3932, allocations: 12.03 kB / 0.582 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3934, allocations: 8.891 kB / 0.582 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3935, allocations: 114.5 kB / 0.5821 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3935, allocations: 4.375 kB / 0.5821 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3935, allocations: 4.375 kB / 0.5821 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.3938, allocations: 95.42 kB / 0.5822 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3938, allocations: 0 / 0.5822 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3938, allocations: 4 kB / 0.5822 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3938, allocations: 4 kB / 0.5822 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.394, allocations: 43.95 kB / 0.5822 GB, free: 14.35 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.0005584/0.3946, allocations: 308.6 kB / 0.5825 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.3948, allocations: 54.53 kB / 0.5826 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.3948, allocations: 12.86 kB / 0.5826 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02041/0.4152, allocations: 5.687 MB / 0.5881 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.4153, allocations: 30.56 kB / 0.5882 GB, free: 8.203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.4153, allocations: 4 kB / 0.5882 GB, free: 8.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005551/0.4158, allocations: 105.6 kB / 0.5883 GB, free: 8.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.4159, allocations: 51.41 kB / 0.5883 GB, free: 8.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.4161, allocations: 106.2 kB / 0.5884 GB, free: 7.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.4161, allocations: 25.7 kB / 0.5885 GB, free: 7.883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.4161, allocations: 84.09 kB / 0.5885 GB, free: 7.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.4162, allocations: 19.84 kB / 0.5886 GB, free: 7.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.4162, allocations: 25.7 kB / 0.5886 GB, free: 7.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4164, allocations: 314.8 kB / 0.5889 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.4164, allocations: 8 kB / 0.5889 GB, free: 7.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.4164, allocations: 26.56 kB / 0.5889 GB, free: 7.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.4165, allocations: 42.67 kB / 0.5889 GB, free: 7.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4165, allocations: 8 kB / 0.589 GB, free: 7.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001346/0.4167, allocations: 65.58 kB / 0.589 GB, free: 7.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4167, allocations: 7.938 kB / 0.589 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.4167, allocations: 8.047 kB / 0.589 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4167, allocations: 4 kB / 0.589 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.4168, allocations: 8 kB / 0.589 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4168, allocations: 0 / 0.589 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.4168, allocations: 7.938 kB / 0.5891 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4169, allocations: 0 / 0.5891 GB, free: 7.223 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 0.000109/0.417, allocations: 119.1 kB / 0.5892 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.417, allocations: 3.938 kB / 0.5892 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006002/0.4176, allocations: 393.2 kB / 0.5895 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.4176, allocations: 15.98 kB / 0.5896 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4176, allocations: 0 / 0.5896 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4176, allocations: 0 / 0.5896 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.4179, allocations: 225.9 kB / 0.5898 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.4179, allocations: 4 kB / 0.5898 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.4179, allocations: 7.938 kB / 0.5898 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4179, allocations: 0 / 0.5898 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.4179, allocations: 0 / 0.5898 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4179, allocations: 0 / 0.5898 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4179, allocations: 0 / 0.5898 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.4182, allocations: 298 kB / 0.5901 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.4183, allocations: 19.89 kB / 0.5901 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.4183, allocations: 0 / 0.5901 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.4183, allocations: 3.984 kB / 0.5901 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.4184, allocations: 4 kB / 0.5901 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.4184, allocations: 0 / 0.5901 GB, free: 6.086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.72e-05/0.4184, allocations: 83.28 kB / 0.5902 GB, free: 6.004 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4184, allocations: 0 / 0.5902 GB, free: 6.004 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001336/0.4197, allocations: 447.3 kB / 0.5906 GB, free: 5.566 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.001897/0.4216, allocations: 0.5689 MB / 0.5912 GB, free: 4.988 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.4218, allocations: 87.91 kB / 0.5912 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4218, allocations: 0 / 0.5912 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.4219, allocations: 67.92 kB / 0.5913 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.4222, allocations: 23.97 kB / 0.5913 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.4228, allocations: 316.9 kB / 0.5916 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.4229, allocations: 97.91 kB / 0.5917 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.187e-05/0.423, allocations: 27.95 kB / 0.5918 GB, free: 4.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.423, allocations: 16.5 kB / 0.5918 GB, free: 4.316 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.423, allocations: 0 / 0.5918 GB, free: 4.316 MB / 430.1 MB Notification: Performance of Templates: time 0.02177/0.4448, allocations: 13.7 MB / 0.6051 GB, free: 6.617 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/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_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: 5.819331366568804]