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.001539/0.001539, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001395/0.001395, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2538/0.2538, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.002612/0.002612, allocations: 67.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3931, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01751/0.4106, allocations: 11.47 MB / 0.573 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.4121, allocations: 1.218 MB / 0.5742 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.4122, allocations: 4 kB / 0.5742 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.4124, allocations: 31.81 kB / 0.5742 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006635/0.419, allocations: 2.207 MB / 0.5764 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.723e-06/0.419, allocations: 0 / 0.5764 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.4191, allocations: 39.69 kB / 0.5764 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.4192, allocations: 7.984 kB / 0.5764 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/0.4193, allocations: 11.98 kB / 0.5764 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.4193, allocations: 11.94 kB / 0.5764 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.4193, allocations: 0 / 0.5764 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007466/0.4268, allocations: 3.835 MB / 0.5802 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.4268, allocations: 11.88 kB / 0.5802 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.4269, allocations: 11.94 kB / 0.5802 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004628/0.4315, allocations: 1.98 MB / 0.5821 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4315, allocations: 0 / 0.5821 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4315, allocations: 0 / 0.5821 GB, free: 15.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4315, allocations: 0 / 0.5821 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.001319/0.4329, allocations: 0.4928 MB / 0.5826 GB, free: 14.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4329, allocations: 11.97 kB / 0.5826 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.4331, allocations: 16.88 kB / 0.5827 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.4332, allocations: 106.5 kB / 0.5828 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.4332, allocations: 8.375 kB / 0.5828 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4332, allocations: 384 / 0.5828 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.4335, allocations: 91.48 kB / 0.5829 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4335, allocations: 0 / 0.5829 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4335, allocations: 4 kB / 0.5829 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4335, allocations: 0 / 0.5829 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.4337, allocations: 43.91 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.0004614/0.4341, allocations: 316.5 kB / 0.5832 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.4343, allocations: 58.47 kB / 0.5833 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.4344, allocations: 16.86 kB / 0.5833 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02011/0.4545, allocations: 5.676 MB / 0.5888 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.4545, allocations: 38.56 kB / 0.5889 GB, free: 8.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.4545, allocations: 0 / 0.5889 GB, free: 8.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005114/0.455, allocations: 101.6 kB / 0.589 GB, free: 8.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.4551, allocations: 51.41 kB / 0.589 GB, free: 8.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.4552, allocations: 110 kB / 0.5891 GB, free: 8.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.4552, allocations: 25.7 kB / 0.5891 GB, free: 7.988 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.4553, allocations: 88.03 kB / 0.5892 GB, free: 7.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.4553, allocations: 23.77 kB / 0.5892 GB, free: 7.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.4553, allocations: 17.72 kB / 0.5893 GB, free: 7.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4555, allocations: 322.8 kB / 0.5896 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.4555, allocations: 7.984 kB / 0.5896 GB, free: 7.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.4555, allocations: 26.58 kB / 0.5896 GB, free: 7.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/0.4556, allocations: 38.58 kB / 0.5896 GB, free: 7.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4556, allocations: 0 / 0.5896 GB, free: 7.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001115/0.4557, allocations: 73.62 kB / 0.5897 GB, free: 7.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4557, allocations: 4 kB / 0.5897 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4558, allocations: 8 kB / 0.5897 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.4558, allocations: 0 / 0.5897 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.4558, allocations: 8 kB / 0.5897 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4559, allocations: 4.062 kB / 0.5897 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.4559, allocations: 4 kB / 0.5897 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4559, allocations: 3.938 kB / 0.5897 GB, free: 7.328 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.284e-05/0.456, allocations: 121.8 kB / 0.5898 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.456, allocations: 0 / 0.5898 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.4565, allocations: 399.1 kB / 0.5902 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.4565, allocations: 4 kB / 0.5902 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4565, allocations: 0 / 0.5902 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4565, allocations: 3.984 kB / 0.5902 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.4567, allocations: 225.8 kB / 0.5905 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4567, allocations: 0 / 0.5905 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.4568, allocations: 4 kB / 0.5905 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4568, allocations: 0 / 0.5905 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.4568, allocations: 0 / 0.5905 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4568, allocations: 0 / 0.5905 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4568, allocations: 4 kB / 0.5905 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.4571, allocations: 297.6 kB / 0.5907 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.4571, allocations: 15.88 kB / 0.5908 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4571, allocations: 4 kB / 0.5908 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.4572, allocations: 3.938 kB / 0.5908 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.4572, allocations: 8 kB / 0.5908 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4572, allocations: 0 / 0.5908 GB, free: 6.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.4572, allocations: 83.27 kB / 0.5909 GB, free: 6.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4572, allocations: 0 / 0.5909 GB, free: 6.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001342/0.4586, allocations: 451.3 kB / 0.5913 GB, free: 5.676 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.001816/0.4604, allocations: 0.5575 MB / 0.5918 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.4606, allocations: 95.84 kB / 0.5919 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.4606, allocations: 0 / 0.5919 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.4607, allocations: 67.97 kB / 0.592 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.461, allocations: 11.92 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.0005603/0.4615, allocations: 346.6 kB / 0.5923 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.4616, allocations: 101.8 kB / 0.5924 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.4617, allocations: 11.44 kB / 0.5924 GB, free: 4.43 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4617, allocations: 0 / 0.5924 GB, free: 4.43 MB / 430.1 MB Notification: Performance of Templates: time 0.01639/0.4781, allocations: 9.069 MB / 0.6013 GB, free: 11.34 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 -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: 8.468563866015757]