Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007719/0.000772, allocations: 93.16 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008725/0.0008726, allocations: 199.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.7 MB / 246.8 MB, free: 9.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002965, allocations: 11.94 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 63.57 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005766/0.1315, allocations: 4.665 MB / 487.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004995/0.1365, allocations: 4.513 MB / 492.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.1367, allocations: 0 / 492.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.137, allocations: 47.72 kB / 492.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.1387, allocations: 0.5985 MB / 492.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1391, allocations: 162.6 kB / 493.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007262/0.1398, allocations: 446 kB / 493.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.1399, allocations: 9.688 kB / 493.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.1402, allocations: 143.5 kB / 493.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.1404, allocations: 139.4 kB / 493.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1405, allocations: 4 kB / 493.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009102/0.1414, allocations: 363.5 kB / 494.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.1415, allocations: 47.75 kB / 494.2 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.1417, allocations: 133.2 kB / 494.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008864/0.1426, allocations: 431.2 kB / 494.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1426, allocations: 0 / 494.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1426, allocations: 0 / 494.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1426, allocations: 0 / 494.7 MB, free: 8.41 MB / 366.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.001053/0.1436, allocations: 0.5384 MB / 495.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1437, allocations: 8.875 kB / 495.3 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.1439, allocations: 28.73 kB / 495.3 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1442, allocations: 228 kB / 495.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.1443, allocations: 123.9 kB / 495.7 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.1444, allocations: 24.38 kB / 495.7 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.1449, allocations: 327.6 kB / 496 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1449, allocations: 0 / 496 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.145, allocations: 12 kB / 496 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.145, allocations: 8 kB / 496 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008495/0.1458, allocations: 0.7429 MB / 496.8 MB, free: 6.25 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.001462/0.1473, allocations: 1.242 MB / 498 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.1477, allocations: 146.8 kB / 498.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1478, allocations: 76.81 kB / 498.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002474/0.1503, allocations: 2.659 MB / 0.4892 GB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1503, allocations: 34.56 kB / 0.4892 GB, free: 1.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.1503, allocations: 0 / 0.4892 GB, free: 1.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007312/0.1511, allocations: 224.8 kB / 0.4894 GB, free: 1.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1511, allocations: 59.28 kB / 0.4895 GB, free: 1.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1514, allocations: 210.6 kB / 0.4897 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.1514, allocations: 33.64 kB / 0.4897 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1515, allocations: 214.8 kB / 0.4899 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1516, allocations: 51.34 kB / 0.4899 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1517, allocations: 37.7 kB / 0.49 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1518, allocations: 326.8 kB / 0.4903 GB, free: 276 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1519, allocations: 56.83 kB / 0.4903 GB, free: 220 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.1523, allocations: 316.4 kB / 0.4906 GB, free: 15.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.1527, allocations: 407.4 kB / 0.491 GB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.1528, allocations: 4 kB / 0.491 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006346/0.1534, allocations: 377.6 kB / 0.4914 GB, free: 14.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1534, allocations: 8 kB / 0.4914 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.1535, allocations: 8 kB / 0.4914 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.1535, allocations: 16 kB / 0.4914 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.1538, allocations: 111.8 kB / 0.4915 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.1539, allocations: 15.94 kB / 0.4915 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.1541, allocations: 16 kB / 0.4916 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.1542, allocations: 27.98 kB / 0.4916 GB, free: 14.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001509/0.1543, allocations: 153.8 kB / 0.4917 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.1544, allocations: 27.66 kB / 0.4918 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.1547, allocations: 154.9 kB / 0.4919 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.1547, allocations: 7.938 kB / 0.4919 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1547, allocations: 0 / 0.4919 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1547, allocations: 0 / 0.4919 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.1553, allocations: 434.9 kB / 0.4923 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.1553, allocations: 0 / 0.4923 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.1555, allocations: 31.92 kB / 0.4924 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1555, allocations: 8.031 kB / 0.4924 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1555, allocations: 7.984 kB / 0.4924 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1555, allocations: 0 / 0.4924 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1555, allocations: 4 kB / 0.4924 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1558, allocations: 216 kB / 0.4926 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.1559, allocations: 112.8 kB / 0.4927 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.156, allocations: 4 kB / 0.4927 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1562, allocations: 15.98 kB / 0.4927 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1562, allocations: 15.92 kB / 0.4927 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1562, allocations: 4 kB / 0.4927 GB, free: 13.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1564, allocations: 148.5 kB / 0.4929 GB, free: 13.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1564, allocations: 0 / 0.4929 GB, free: 13.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.1569, allocations: 100 kB / 0.493 GB, free: 13.15 MB / 382.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.0003255/0.1572, allocations: 167.1 kB / 0.4931 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003191/0.1576, allocations: 181.5 kB / 0.4933 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1576, allocations: 4.688 kB / 0.4933 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.1576, allocations: 35.92 kB / 0.4933 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.1581, allocations: 63.39 kB / 0.4934 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.1591, allocations: 0.6127 MB / 0.494 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1594, allocations: 0.7287 MB / 0.4947 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.1597, allocations: 58.83 kB / 0.4948 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.1598, allocations: 27.44 kB / 0.4948 GB, free: 11.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1598, allocations: 0 / 0.4948 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Templates: time 0.007385/0.1672, allocations: 3.369 MB / 0.4981 GB, free: 7.879 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches