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.001771/0.001771, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002142/0.002142, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.482/1.482, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2435/0.2435, allocations: 46.91 MB / 357.4 MB, free: 10.48 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002949/0.002949, allocations: 83.86 kB / 0.4912 GB, free: 8.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1521, allocations: 65.99 MB / 0.5557 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01769/0.1697, allocations: 12.55 MB / 0.5679 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1714, allocations: 1.397 MB / 0.5693 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.1714, allocations: 4 kB / 0.5693 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1716, allocations: 35.8 kB / 0.5693 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.1771, allocations: 2.227 MB / 0.5715 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.651e-06/0.1771, allocations: 0 / 0.5715 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1772, allocations: 43.67 kB / 0.5715 GB, free: 5.926 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.1773, allocations: 11.92 kB / 0.5716 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.1773, allocations: 12 kB / 0.5716 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.1774, allocations: 11.94 kB / 0.5716 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.1774, allocations: 0 / 0.5716 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00675/0.1842, allocations: 3.859 MB / 0.5753 GB, free: 2.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.1842, allocations: 4 kB / 0.5753 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.1842, allocations: 19.81 kB / 0.5754 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003394/0.1876, allocations: 1.98 MB / 0.5773 GB, free: 20 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1876, allocations: 0 / 0.5773 GB, free: 20 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1876, allocations: 0 / 0.5773 GB, free: 20 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1876, allocations: 4 kB / 0.5773 GB, free: 16 kB / 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.001281/0.1889, allocations: 0.5681 MB / 0.5779 GB, free: 15.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1889, allocations: 12.03 kB / 0.5779 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.189, allocations: 34.75 kB / 0.5779 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.1891, allocations: 16.88 kB / 0.5779 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1893, allocations: 164.3 kB / 0.5781 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.1893, allocations: 384 / 0.5781 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1893, allocations: 4.375 kB / 0.5781 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1895, allocations: 99.28 kB / 0.5782 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1896, allocations: 0 / 0.5782 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1896, allocations: 0 / 0.5782 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1896, allocations: 4 kB / 0.5782 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.1897, allocations: 51.89 kB / 0.5782 GB, free: 14.96 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.000472/0.1902, allocations: 360.9 kB / 0.5786 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1904, allocations: 58.53 kB / 0.5786 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.1904, allocations: 12.86 kB / 0.5786 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02225/0.2127, allocations: 10.41 MB / 0.5888 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.2127, allocations: 42.48 kB / 0.5889 GB, free: 2.824 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.2127, allocations: 0 / 0.5889 GB, free: 2.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.000495/0.2132, allocations: 105.6 kB / 0.589 GB, free: 2.715 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2132, allocations: 51.41 kB / 0.589 GB, free: 2.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.2133, allocations: 93.86 kB / 0.5891 GB, free: 2.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2134, allocations: 29.7 kB / 0.5891 GB, free: 2.516 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.2134, allocations: 96.02 kB / 0.5892 GB, free: 2.418 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.2134, allocations: 7.906 kB / 0.5892 GB, free: 2.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.2135, allocations: 21.72 kB / 0.5892 GB, free: 2.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2136, allocations: 326.8 kB / 0.5896 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.2137, allocations: 4 kB / 0.5896 GB, free: 2.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.2137, allocations: 30.5 kB / 0.5896 GB, free: 2.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.2138, allocations: 34.58 kB / 0.5896 GB, free: 1.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2138, allocations: 8 kB / 0.5896 GB, free: 1.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001164/0.2139, allocations: 61.62 kB / 0.5897 GB, free: 1.895 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2139, allocations: 4 kB / 0.5897 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2139, allocations: 3.938 kB / 0.5897 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2139, allocations: 4 kB / 0.5897 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.214, allocations: 15.92 kB / 0.5897 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.214, allocations: 0 / 0.5897 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.2141, allocations: 16.25 kB / 0.5897 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.2141, allocations: 0 / 0.5897 GB, free: 1.852 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 9.97e-05/0.2142, allocations: 117.9 kB / 0.5898 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.2142, allocations: 0 / 0.5898 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004641/0.2147, allocations: 374.9 kB / 0.5902 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.2147, allocations: 11.97 kB / 0.5902 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2147, allocations: 0 / 0.5902 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2147, allocations: 3.938 kB / 0.5902 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.215, allocations: 286.2 kB / 0.5905 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.215, allocations: 192 / 0.5905 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.2151, allocations: 8 kB / 0.5905 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2151, allocations: 4 kB / 0.5905 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2151, allocations: 0 / 0.5905 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2151, allocations: 0 / 0.5905 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2151, allocations: 4 kB / 0.5905 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.2154, allocations: 285.7 kB / 0.5908 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.2154, allocations: 92.95 kB / 0.5909 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2154, allocations: 7.984 kB / 0.5909 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.2155, allocations: 3.938 kB / 0.5909 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.2155, allocations: 11.94 kB / 0.5909 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.2155, allocations: 3.938 kB / 0.5909 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.79e-05/0.2156, allocations: 79.28 kB / 0.591 GB, free: 496 kB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2156, allocations: 0 / 0.591 GB, free: 496 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001291/0.2169, allocations: 451.3 kB / 0.5914 GB, free: 44 kB / 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.2897/0.5065, allocations: 1.258 MB / 0.5926 GB, free: 36.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.5068, allocations: 83.08 kB / 0.5927 GB, free: 36.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5068, allocations: 3.281 kB / 0.5927 GB, free: 36.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.65e-05/0.5069, allocations: 62.25 kB / 0.5928 GB, free: 36.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.5072, allocations: 21.8 kB / 0.5928 GB, free: 36.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.5083, allocations: 467 kB / 0.5932 GB, free: 36.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.5085, allocations: 0.7077 MB / 0.5939 GB, free: 35.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.511e-05/0.5086, allocations: 26.56 kB / 0.5939 GB, free: 35.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.5086, allocations: 32.42 kB / 0.594 GB, free: 35.85 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5086, allocations: 0 / 0.594 GB, free: 35.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/0.5628, allocations: 15.65 MB / 0.6093 GB, free: 31.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/9.188, allocations: 1.281 kB / 0.6093 GB, free: 31.23 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.3199362186715]