Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 46.97 MB / 361.6 MB, free: 4.055 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3583, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0162/0.3745, allocations: 11.47 MB / 0.573 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.376, allocations: 1.222 MB / 0.5742 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.376, allocations: 0 / 0.5742 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.3762, allocations: 27.83 kB / 0.5742 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006095/0.3823, allocations: 2.205 MB / 0.5764 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.933e-06/0.3823, allocations: 0 / 0.5764 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.3824, allocations: 39.73 kB / 0.5764 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.3824, allocations: 7.938 kB / 0.5764 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.937e-05/0.3825, allocations: 27.84 kB / 0.5764 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.3825, allocations: 15.94 kB / 0.5765 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.3825, allocations: 0 / 0.5765 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006641/0.3892, allocations: 3.832 MB / 0.5802 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.3892, allocations: 0 / 0.5802 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.3892, allocations: 11.94 kB / 0.5802 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00342/0.3927, allocations: 1.988 MB / 0.5822 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3927, allocations: 0 / 0.5822 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3927, allocations: 0 / 0.5822 GB, free: 15.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3927, allocations: 0 / 0.5822 GB, free: 15.3 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.001184/0.3939, allocations: 496.6 kB / 0.5826 GB, free: 14.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3939, allocations: 12.03 kB / 0.5826 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.3941, allocations: 12.89 kB / 0.5827 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3942, allocations: 114.5 kB / 0.5828 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3942, allocations: 4.375 kB / 0.5828 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3942, allocations: 4.375 kB / 0.5828 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.3945, allocations: 91.44 kB / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3945, allocations: 0 / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3945, allocations: 0 / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3945, allocations: 7.984 kB / 0.5829 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.3947, allocations: 47.95 kB / 0.5829 GB, free: 14.46 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.0004545/0.3951, allocations: 308.6 kB / 0.5832 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.3953, allocations: 54.53 kB / 0.5833 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.3954, allocations: 8.859 kB / 0.5833 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01951/0.4149, allocations: 5.691 MB / 0.5888 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.4149, allocations: 30.56 kB / 0.5889 GB, free: 8.316 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.993e-06/0.4149, allocations: 4 kB / 0.5889 GB, free: 8.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000496/0.4154, allocations: 101.6 kB / 0.589 GB, free: 8.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.4155, allocations: 51.41 kB / 0.589 GB, free: 8.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4156, allocations: 109.8 kB / 0.5891 GB, free: 8.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4156, allocations: 25.7 kB / 0.5891 GB, free: 7.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.4156, allocations: 88.09 kB / 0.5892 GB, free: 7.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.4157, allocations: 19.83 kB / 0.5892 GB, free: 7.887 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.4157, allocations: 21.7 kB / 0.5893 GB, free: 7.859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4159, allocations: 314.8 kB / 0.5896 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.4159, allocations: 12 kB / 0.5896 GB, free: 7.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.4159, allocations: 26.56 kB / 0.5896 GB, free: 7.496 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.416, allocations: 38.45 kB / 0.5896 GB, free: 7.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.416, allocations: 8 kB / 0.5896 GB, free: 7.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001074/0.4161, allocations: 65.58 kB / 0.5897 GB, free: 7.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4161, allocations: 4 kB / 0.5897 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4161, allocations: 0 / 0.5897 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.4161, allocations: 4 kB / 0.5897 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.4162, allocations: 20.11 kB / 0.5897 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4162, allocations: 3.938 kB / 0.5897 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.4162, allocations: 4 kB / 0.5897 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.4163, allocations: 0 / 0.5897 GB, free: 7.336 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.004e-05/0.4163, allocations: 125.8 kB / 0.5899 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.4164, allocations: 0 / 0.5899 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000444/0.4168, allocations: 391.1 kB / 0.5902 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.4168, allocations: 8.406 kB / 0.5902 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4168, allocations: 0 / 0.5902 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4168, allocations: 0 / 0.5902 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.4171, allocations: 221.8 kB / 0.5904 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4171, allocations: 4 kB / 0.5905 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.4171, allocations: 8 kB / 0.5905 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4171, allocations: 3.984 kB / 0.5905 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4171, allocations: 4 kB / 0.5905 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4171, allocations: 0 / 0.5905 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4171, allocations: 3.938 kB / 0.5905 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.4174, allocations: 297.7 kB / 0.5908 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.4174, allocations: 11.89 kB / 0.5908 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.4174, allocations: 0 / 0.5908 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.4175, allocations: 0 / 0.5908 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.4175, allocations: 11.98 kB / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.4175, allocations: 0 / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.849e-05/0.4175, allocations: 79.28 kB / 0.5909 GB, free: 6.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4175, allocations: 0 / 0.5909 GB, free: 6.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001212/0.4187, allocations: 455.3 kB / 0.5913 GB, free: 5.684 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.001719/0.4205, allocations: 0.5493 MB / 0.5918 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.4206, allocations: 99.84 kB / 0.5919 GB, free: 5.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4206, allocations: 4.125 kB / 0.5919 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.4207, allocations: 63.98 kB / 0.592 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.421, allocations: 26.3 kB / 0.592 GB, free: 4.938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.4215, allocations: 301 kB / 0.5923 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.4216, allocations: 105.7 kB / 0.5924 GB, free: 4.488 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.673e-05/0.4217, allocations: 23.95 kB / 0.5924 GB, free: 4.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.4217, allocations: 11.44 kB / 0.5924 GB, free: 4.453 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4217, allocations: 0 / 0.5924 GB, free: 4.453 MB / 430.1 MB Notification: Performance of Templates: time 0.02086/0.4426, allocations: 13.87 MB / 0.606 GB, free: 6.582 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.437943951998022]