Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 105.4 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 188 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2131/0.2131, allocations: 44.19 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 71.97 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1638, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006789/0.1706, allocations: 4.959 MB / 475.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005096/0.1757, allocations: 4.551 MB / 480.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/0.1758, allocations: 0 / 480.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1762, allocations: 59.53 kB / 480.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.1779, allocations: 0.6565 MB / 480.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.1783, allocations: 169.9 kB / 481.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.1789, allocations: 366.2 kB / 481.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.179, allocations: 13.69 kB / 481.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.1792, allocations: 147.5 kB / 481.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1794, allocations: 131.5 kB / 481.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.1794, allocations: 8 kB / 481.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006798/0.1801, allocations: 331.6 kB / 482.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-05/0.1802, allocations: 51.77 kB / 482.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1804, allocations: 107.5 kB / 482.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.181, allocations: 411 kB / 482.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.181, allocations: 0 / 482.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.181, allocations: 0 / 482.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.181, allocations: 0 / 482.6 MB, free: 1.715 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001011/0.1821, allocations: 0.5891 MB / 483.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1821, allocations: 8.031 kB / 483.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.1823, allocations: 28.75 kB / 483.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.1826, allocations: 232 kB / 483.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.1828, allocations: 119.9 kB / 483.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.1828, allocations: 24.38 kB / 483.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.1833, allocations: 331.6 kB / 484 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1833, allocations: 0 / 484 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.1834, allocations: 12 kB / 484 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.1834, allocations: 8 kB / 484 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007752/0.1842, allocations: 0.7313 MB / 484.7 MB, free: 15.51 MB / 366.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.001345/0.1855, allocations: 1.242 MB / 485.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.1859, allocations: 158.8 kB / 486.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.186, allocations: 76.58 kB / 486.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002138/0.1881, allocations: 2.667 MB / 488.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1882, allocations: 30.56 kB / 488.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.1882, allocations: 0 / 488.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006443/0.1888, allocations: 222.9 kB / 489.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.1889, allocations: 55.34 kB / 489.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1891, allocations: 223.8 kB / 489.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1891, allocations: 25.7 kB / 489.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1893, allocations: 214.8 kB / 489.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.1893, allocations: 47.36 kB / 489.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.1894, allocations: 85.94 kB / 489.7 MB, free: 9.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1896, allocations: 326.8 kB / 490 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.1897, allocations: 52.83 kB / 490.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.19, allocations: 326 kB / 490.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.1904, allocations: 425.2 kB / 490.8 MB, free: 8.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1904, allocations: 7.938 kB / 490.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005487/0.191, allocations: 373.5 kB / 491.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.191, allocations: 8 kB / 491.2 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.1911, allocations: 12 kB / 491.2 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.1911, allocations: 12 kB / 491.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.1914, allocations: 115.7 kB / 491.3 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.1915, allocations: 15.94 kB / 491.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.1917, allocations: 23.98 kB / 491.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.1917, allocations: 28.34 kB / 491.4 MB, free: 7.824 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001382/0.1919, allocations: 149.6 kB / 491.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.1919, allocations: 19.81 kB / 491.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.1922, allocations: 150.9 kB / 491.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.1922, allocations: 3.938 kB / 491.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1923, allocations: 0 / 491.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1923, allocations: 7.922 kB / 491.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.1928, allocations: 427.3 kB / 492.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1928, allocations: 0 / 492.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.193, allocations: 43.84 kB / 492.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.193, allocations: 4.031 kB / 492.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.193, allocations: 4 kB / 492.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1931, allocations: 0 / 492.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1931, allocations: 0 / 492.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1933, allocations: 215.1 kB / 492.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.881e-05/0.1934, allocations: 100.8 kB / 492.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1935, allocations: 23.81 kB / 492.5 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.1937, allocations: 8.062 kB / 492.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1937, allocations: 19.92 kB / 492.6 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1937, allocations: 11.92 kB / 492.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1939, allocations: 144.5 kB / 492.7 MB, free: 6.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1939, allocations: 0 / 492.7 MB, free: 6.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004562/0.1943, allocations: 99.98 kB / 492.8 MB, free: 6.316 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003097/0.1946, allocations: 163.2 kB / 493 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.195, allocations: 181.4 kB / 493.2 MB, free: 5.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.195, allocations: 0 / 493.2 MB, free: 5.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.1951, allocations: 40.61 kB / 493.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1955, allocations: 56.31 kB / 493.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009943/0.1965, allocations: 0.4939 MB / 493.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1969, allocations: 0.7285 MB / 494.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.1971, allocations: 62.86 kB / 494.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.1972, allocations: 27.42 kB / 494.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1972, allocations: 0 / 494.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of Templates: time 0.007303/0.2045, allocations: 3.397 MB / 498 MB, free: 1.141 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches