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.0009172/0.0009171, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002712, allocations: 4 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006938/0.1338, allocations: 4.665 MB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005445/0.1393, allocations: 4.517 MB / 492.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.1395, allocations: 0 / 492.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.1399, allocations: 47.72 kB / 492.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.1422, allocations: 0.5985 MB / 492.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.1426, allocations: 155.1 kB / 493.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007384/0.1434, allocations: 450 kB / 493.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.5e-05/0.1434, allocations: 9.688 kB / 493.5 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.1438, allocations: 151.4 kB / 493.7 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.144, allocations: 119.5 kB / 493.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.1441, allocations: 4 kB / 493.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009747/0.145, allocations: 367.5 kB / 494.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.1452, allocations: 51.81 kB / 494.2 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1453, allocations: 137.2 kB / 494.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009624/0.1463, allocations: 423.2 kB / 494.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1463, allocations: 0 / 494.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1463, allocations: 4 kB / 494.7 MB, free: 8.438 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1463, allocations: 0 / 494.7 MB, free: 8.438 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.001041/0.1474, allocations: 0.5384 MB / 495.3 MB, free: 7.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1474, allocations: 8.875 kB / 495.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.1476, allocations: 24.75 kB / 495.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1479, allocations: 224 kB / 495.5 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.148, allocations: 127.9 kB / 495.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1481, allocations: 32.3 kB / 495.7 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.1486, allocations: 323.6 kB / 496 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1486, allocations: 3.938 kB / 496 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.1486, allocations: 12 kB / 496 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/0.1487, allocations: 11.98 kB / 496 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.1495, allocations: 0.7352 MB / 496.8 MB, free: 6.277 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.001308/0.1508, allocations: 1.238 MB / 498 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.1511, allocations: 154.8 kB / 498.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1513, allocations: 68.83 kB / 498.2 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002347/0.1536, allocations: 2.663 MB / 0.4891 GB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1537, allocations: 38.55 kB / 0.4892 GB, free: 1.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.325e-06/0.1537, allocations: 7.938 kB / 0.4892 GB, free: 1.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007324/0.1544, allocations: 216.2 kB / 0.4894 GB, free: 1.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1545, allocations: 63.22 kB / 0.4895 GB, free: 1.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.1547, allocations: 214.6 kB / 0.4897 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.1547, allocations: 29.7 kB / 0.4897 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1549, allocations: 218.7 kB / 0.4899 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1549, allocations: 51.34 kB / 0.4899 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.155, allocations: 37.7 kB / 0.49 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1551, allocations: 326.8 kB / 0.4903 GB, free: 296 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/0.1552, allocations: 52.83 kB / 0.4903 GB, free: 244 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.1556, allocations: 316.3 kB / 0.4906 GB, free: 15.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.1561, allocations: 411.5 kB / 0.491 GB, free: 15.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1561, allocations: 0 / 0.491 GB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006554/0.1567, allocations: 373.7 kB / 0.4914 GB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1568, allocations: 8 kB / 0.4914 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.1568, allocations: 8 kB / 0.4914 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.1568, allocations: 16.06 kB / 0.4914 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.1572, allocations: 111.8 kB / 0.4915 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.1572, allocations: 19.92 kB / 0.4916 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.1574, allocations: 16 kB / 0.4916 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.1575, allocations: 24 kB / 0.4916 GB, free: 14.7 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.0001364/0.1576, allocations: 157.6 kB / 0.4917 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.1577, allocations: 19.72 kB / 0.4918 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.158, allocations: 159 kB / 0.4919 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.158, allocations: 7.938 kB / 0.4919 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.158, allocations: 8 kB / 0.4919 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.158, allocations: 0 / 0.4919 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.1586, allocations: 431.3 kB / 0.4923 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1586, allocations: 0 / 0.4923 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1588, allocations: 31.92 kB / 0.4924 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1588, allocations: 4 kB / 0.4924 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1588, allocations: 4 kB / 0.4924 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1588, allocations: 0 / 0.4924 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1588, allocations: 8.016 kB / 0.4924 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.159, allocations: 223.3 kB / 0.4926 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.1592, allocations: 112.8 kB / 0.4927 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1592, allocations: 0 / 0.4927 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1594, allocations: 8 kB / 0.4927 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1594, allocations: 15.92 kB / 0.4927 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.1595, allocations: 11.98 kB / 0.4927 GB, free: 13.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1596, allocations: 148.5 kB / 0.4929 GB, free: 13.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1596, allocations: 0 / 0.4929 GB, free: 13.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005494/0.1602, allocations: 99.98 kB / 0.493 GB, free: 13.17 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.0003673/0.1605, allocations: 167 kB / 0.4931 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.1609, allocations: 176.4 kB / 0.4933 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1609, allocations: 0 / 0.4933 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.442e-05/0.161, allocations: 41.61 kB / 0.4933 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.1615, allocations: 55.16 kB / 0.4934 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.1625, allocations: 0.6167 MB / 0.494 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1628, allocations: 0.7326 MB / 0.4947 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.1631, allocations: 58.78 kB / 0.4948 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.1631, allocations: 31.42 kB / 0.4948 GB, free: 11.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.693e-06/0.1632, allocations: 0 / 0.4948 GB, free: 11.24 MB / 382.1 MB Notification: Performance of Templates: time 0.007466/0.1706, allocations: 3.361 MB / 0.4981 GB, free: 7.906 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