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.001554/0.001554, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.002063/0.002063, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.436/1.436, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2213/0.2213, allocations: 46.93 MB / 357.7 MB, free: 10.18 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 79.88 kB / 0.4916 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1204, allocations: 66.04 MB / 0.5561 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01692/0.1373, allocations: 12.54 MB / 0.5684 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.139, allocations: 1.405 MB / 0.5698 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.139, allocations: 0 / 0.5698 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.1392, allocations: 31.81 kB / 0.5698 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006404/0.1456, allocations: 2.224 MB / 0.572 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.835e-06/0.1456, allocations: 0 / 0.572 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1457, allocations: 51.66 kB / 0.572 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.1458, allocations: 3.938 kB / 0.572 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1459, allocations: 19.92 kB / 0.572 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.146, allocations: 19.88 kB / 0.572 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.146, allocations: 0 / 0.572 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.1562, allocations: 3.847 MB / 0.5758 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.1562, allocations: 11.94 kB / 0.5758 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.1563, allocations: 15.92 kB / 0.5758 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004699/0.161, allocations: 1.98 MB / 0.5778 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.161, allocations: 0 / 0.5778 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.161, allocations: 0 / 0.5778 GB, free: 15.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.161, allocations: 4 kB / 0.5778 GB, free: 15.32 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.001675/0.1626, allocations: 0.5642 MB / 0.5783 GB, free: 14.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1627, allocations: 8.031 kB / 0.5783 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.138e-05/0.1627, allocations: 12.17 kB / 0.5783 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.1628, allocations: 34.75 kB / 0.5784 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.163, allocations: 16.88 kB / 0.5784 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1632, allocations: 164.3 kB / 0.5785 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1632, allocations: 4.312 kB / 0.5785 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1632, allocations: 8.125 kB / 0.5786 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1636, allocations: 87.36 kB / 0.5786 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1636, allocations: 0 / 0.5786 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1636, allocations: 4 kB / 0.5786 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1636, allocations: 0 / 0.5786 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.1638, allocations: 55.89 kB / 0.5787 GB, free: 14.27 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.0006217/0.1645, allocations: 357 kB / 0.579 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1647, allocations: 50.55 kB / 0.5791 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.1648, allocations: 16.94 kB / 0.5791 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03203/0.1968, allocations: 10.42 MB / 0.5893 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/0.1969, allocations: 34.5 kB / 0.5893 GB, free: 2.137 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.1969, allocations: 3.938 kB / 0.5893 GB, free: 2.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006653/0.1975, allocations: 109.6 kB / 0.5894 GB, free: 2.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.1976, allocations: 55.39 kB / 0.5895 GB, free: 1.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1977, allocations: 97.8 kB / 0.5896 GB, free: 1.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1977, allocations: 29.7 kB / 0.5896 GB, free: 1.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.1978, allocations: 92.09 kB / 0.5897 GB, free: 1.719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1978, allocations: 15.83 kB / 0.5897 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.1979, allocations: 17.72 kB / 0.5897 GB, free: 1.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1981, allocations: 318.8 kB / 0.59 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.1981, allocations: 11.98 kB / 0.59 GB, free: 1.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.622e-05/0.1982, allocations: 30.52 kB / 0.5901 GB, free: 1.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/0.1982, allocations: 42.5 kB / 0.5901 GB, free: 1.258 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1982, allocations: 4 kB / 0.5901 GB, free: 1.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001617/0.1984, allocations: 61.62 kB / 0.5902 GB, free: 1.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1984, allocations: 9.781 kB / 0.5902 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1984, allocations: 0 / 0.5902 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1985, allocations: 4 kB / 0.5902 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.1985, allocations: 11.94 kB / 0.5902 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1985, allocations: 0 / 0.5902 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.1986, allocations: 15.88 kB / 0.5902 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1986, allocations: 0 / 0.5902 GB, free: 1.148 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 0.0001041/0.1987, allocations: 113.8 kB / 0.5903 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.1988, allocations: 0 / 0.5903 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.1994, allocations: 375.5 kB / 0.5907 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.1994, allocations: 7.984 kB / 0.5907 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1994, allocations: 0 / 0.5907 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1994, allocations: 7.875 kB / 0.5907 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.1998, allocations: 282.2 kB / 0.591 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.1998, allocations: 0 / 0.591 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.1999, allocations: 7.984 kB / 0.591 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1999, allocations: 3.938 kB / 0.591 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1999, allocations: 0 / 0.591 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.1999, allocations: 0 / 0.591 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1999, allocations: 8 kB / 0.591 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2002, allocations: 281.7 kB / 0.5912 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2262/0.4264, allocations: 90.62 kB / 0.5913 GB, free: 36.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.4264, allocations: 2.281 kB / 0.5913 GB, free: 36.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.4265, allocations: 0.875 kB / 0.5913 GB, free: 36.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.4265, allocations: 9.875 kB / 0.5913 GB, free: 36.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.4265, allocations: 1.219 kB / 0.5913 GB, free: 36.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.4266, allocations: 81.91 kB / 0.5914 GB, free: 36.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4266, allocations: 6.406 kB / 0.5914 GB, free: 36.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001248/0.4278, allocations: 448.7 kB / 0.5919 GB, free: 36.61 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.002078/0.4299, allocations: 1.275 MB / 0.5931 GB, free: 35.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.43, allocations: 83.73 kB / 0.5932 GB, free: 35.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.43, allocations: 0 / 0.5932 GB, free: 35.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.4301, allocations: 63.09 kB / 0.5932 GB, free: 35.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.4304, allocations: 21.78 kB / 0.5933 GB, free: 35.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.4313, allocations: 460.8 kB / 0.5937 GB, free: 35.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.4315, allocations: 0.7087 MB / 0.5944 GB, free: 35.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.354e-05/0.4315, allocations: 30.45 kB / 0.5944 GB, free: 35.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.4316, allocations: 28.41 kB / 0.5944 GB, free: 35.01 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4316, allocations: 0 / 0.5944 GB, free: 35.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.4727, allocations: 15.69 MB / 0.6098 GB, free: 30.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.644/9.116, allocations: 13.78 kB / 0.6098 GB, free: 30.34 MB / 446.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] 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: 12.152962610009126]