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.001237/0.001237, allocations: 124.4 kB / 17.79 MB, free: 5.285 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.001391/0.001391, allocations: 207.3 kB / 20.75 MB, free: 2.336 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.489/1.489, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2231/0.2231, allocations: 46.92 MB / 357.1 MB, free: 10.32 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 72.11 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1308, allocations: 65.99 MB / 0.5554 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01758/0.1484, allocations: 12.55 MB / 0.5676 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.15, allocations: 1.401 MB / 0.569 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.1501, allocations: 0 / 0.569 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1502, allocations: 27.81 kB / 0.569 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005828/0.1561, allocations: 2.233 MB / 0.5712 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.332e-06/0.1561, allocations: 0 / 0.5712 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1562, allocations: 39.67 kB / 0.5712 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.1562, allocations: 3.938 kB / 0.5712 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.1563, allocations: 19.98 kB / 0.5713 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.177e-05/0.1564, allocations: 15.92 kB / 0.5713 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.1564, allocations: 0 / 0.5713 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00718/0.1636, allocations: 3.859 MB / 0.575 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.1636, allocations: 7.922 kB / 0.575 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.1636, allocations: 11.94 kB / 0.5751 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004156/0.1678, allocations: 1.98 MB / 0.577 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1678, allocations: 0 / 0.577 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1678, allocations: 4 kB / 0.577 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1678, allocations: 0 / 0.577 GB, free: 15.64 MB / 446.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.001522/0.1693, allocations: 0.5703 MB / 0.5775 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1694, allocations: 8.031 kB / 0.5776 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.1694, allocations: 38.69 kB / 0.5776 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.1696, allocations: 16.88 kB / 0.5776 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.1697, allocations: 160.4 kB / 0.5778 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.1697, allocations: 4.375 kB / 0.5778 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1697, allocations: 4.375 kB / 0.5778 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.17, allocations: 103.2 kB / 0.5779 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.17, allocations: 4 kB / 0.5779 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.17, allocations: 7.984 kB / 0.5779 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.17, allocations: 0 / 0.5779 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.1702, allocations: 43.91 kB / 0.5779 GB, free: 14.58 MB / 446.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.0004854/0.1707, allocations: 361 kB / 0.5783 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1709, allocations: 62.47 kB / 0.5783 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.1709, allocations: 12.86 kB / 0.5783 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02235/0.1933, allocations: 10.41 MB / 0.5885 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.1933, allocations: 34.56 kB / 0.5885 GB, free: 2.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.1933, allocations: 0 / 0.5885 GB, free: 2.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004958/0.1938, allocations: 101.6 kB / 0.5886 GB, free: 2.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1938, allocations: 55.34 kB / 0.5887 GB, free: 2.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.1939, allocations: 109.8 kB / 0.5888 GB, free: 2.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.194, allocations: 25.7 kB / 0.5888 GB, free: 2.129 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.194, allocations: 84.09 kB / 0.5889 GB, free: 2.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.194, allocations: 31.83 kB / 0.5889 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1941, allocations: 21.7 kB / 0.589 GB, free: 1.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1942, allocations: 314.8 kB / 0.5893 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.1942, allocations: 4 kB / 0.5893 GB, free: 1.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/0.1943, allocations: 30.56 kB / 0.5893 GB, free: 1.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.994e-05/0.1943, allocations: 42.52 kB / 0.5893 GB, free: 1.574 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1943, allocations: 0 / 0.5893 GB, free: 1.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001195/0.1945, allocations: 65.61 kB / 0.5894 GB, free: 1.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1945, allocations: 11.94 kB / 0.5894 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1945, allocations: 0 / 0.5894 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1945, allocations: 0 / 0.5894 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.1946, allocations: 8 kB / 0.5894 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1946, allocations: 4 kB / 0.5894 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.1946, allocations: 7.891 kB / 0.5894 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1946, allocations: 8.062 kB / 0.5894 GB, free: 1.465 MB / 446.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.629e-05/0.1947, allocations: 109.8 kB / 0.5895 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1947, allocations: 7.984 kB / 0.5895 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.1952, allocations: 375.3 kB / 0.5899 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.1952, allocations: 4 kB / 0.5899 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1952, allocations: 4 kB / 0.5899 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1952, allocations: 3.938 kB / 0.5899 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.1955, allocations: 282.2 kB / 0.5902 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1955, allocations: 4 kB / 0.5902 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.1956, allocations: 8 kB / 0.5902 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1956, allocations: 0 / 0.5902 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1956, allocations: 3.984 kB / 0.5902 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1956, allocations: 3.938 kB / 0.5902 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1956, allocations: 192 / 0.5902 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.1959, allocations: 293.6 kB / 0.5905 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.1959, allocations: 93.02 kB / 0.5906 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.196, allocations: 8 kB / 0.5906 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.196, allocations: 0 / 0.5906 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.196, allocations: 0 / 0.5906 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.196, allocations: 7.938 kB / 0.5906 GB, free: 188 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.647e-05/0.1961, allocations: 87.27 kB / 0.5907 GB, free: 100 kB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1961, allocations: 0 / 0.5907 GB, free: 100 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.2313/0.4274, allocations: 438.8 kB / 0.5911 GB, free: 36.96 MB / 446.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.002411/0.4298, allocations: 1.265 MB / 0.5923 GB, free: 36.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.43, allocations: 87.41 kB / 0.5924 GB, free: 36.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.43, allocations: 0 / 0.5924 GB, free: 36.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.4301, allocations: 64.95 kB / 0.5925 GB, free: 36.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.4304, allocations: 17.95 kB / 0.5925 GB, free: 36.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.4314, allocations: 470.6 kB / 0.5929 GB, free: 36.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.4316, allocations: 0.711 MB / 0.5936 GB, free: 35.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.74e-05/0.4317, allocations: 24.84 kB / 0.5936 GB, free: 35.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.4317, allocations: 32.27 kB / 0.5937 GB, free: 35.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4317, allocations: 0 / 0.5937 GB, free: 35.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08097/0.5127, allocations: 15.64 MB / 0.609 GB, free: 30.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.792/9.304, allocations: 8.188 kB / 0.609 GB, free: 30.77 MB / 446.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] 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: 12.348982744850218]