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.000888/0.0008881, allocations: 93.06 kB / 17 MB, free: 6.398 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.001091/0.001091, allocations: 178 kB / 17.89 MB, free: 5.945 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.455/1.455, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003536, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 61.92 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006537/0.1397, allocations: 4.412 MB / 476 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005129/0.1448, allocations: 4.185 MB / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.1451, allocations: 4 kB / 480.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1454, allocations: 43.72 kB / 480.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.1473, allocations: 0.5244 MB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.1478, allocations: 154.2 kB / 480.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007455/0.1485, allocations: 386.1 kB / 481.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.887e-05/0.1486, allocations: 17.67 kB / 481.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.149, allocations: 143.5 kB / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.1493, allocations: 131.5 kB / 481.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.1494, allocations: 4 kB / 481.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.1504, allocations: 251.8 kB / 481.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1506, allocations: 47.8 kB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1507, allocations: 69.58 kB / 481.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.1513, allocations: 275.6 kB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1514, allocations: 0 / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1514, allocations: 0 / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1514, allocations: 0 / 482.2 MB, free: 3.062 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.001209/0.1526, allocations: 0.5343 MB / 482.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1526, allocations: 12.03 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.1529, allocations: 23.81 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.1533, allocations: 226.8 kB / 483 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.1535, allocations: 131.4 kB / 483.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.1535, allocations: 20 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.1541, allocations: 319.7 kB / 483.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1542, allocations: 0 / 483.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.1542, allocations: 19.92 kB / 483.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.1542, allocations: 7.938 kB / 483.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008983/0.1551, allocations: 0.7391 MB / 484.2 MB, free: 0.9023 MB / 350.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.001676/0.1568, allocations: 1.246 MB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.1572, allocations: 142.8 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1574, allocations: 80.56 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002694/0.1601, allocations: 2.659 MB / 488.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1601, allocations: 34.56 kB / 488.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1601, allocations: 0 / 488.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007808/0.1609, allocations: 215 kB / 488.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.161, allocations: 55.36 kB / 488.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1612, allocations: 211.8 kB / 488.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1612, allocations: 37.7 kB / 488.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1614, allocations: 210.8 kB / 489.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1614, allocations: 47.36 kB / 489.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.1614, allocations: 12 kB / 489.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1616, allocations: 334.8 kB / 489.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.1617, allocations: 44.84 kB / 489.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.162, allocations: 322 kB / 489.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.1622, allocations: 103.9 kB / 489.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.1622, allocations: 4 kB / 489.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006246/0.1628, allocations: 368.8 kB / 490.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.1629, allocations: 8.969 kB / 490.3 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.1629, allocations: 12 kB / 490.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.163, allocations: 16 kB / 490.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.1633, allocations: 111.8 kB / 490.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.099e-05/0.1634, allocations: 15.94 kB / 490.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.1636, allocations: 23.95 kB / 490.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.1637, allocations: 27.98 kB / 490.5 MB, free: 9.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.1638, allocations: 150.1 kB / 490.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.1639, allocations: 23.66 kB / 490.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.1643, allocations: 158.9 kB / 490.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.1643, allocations: 4 kB / 490.8 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1643, allocations: 4 kB / 490.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.1643, allocations: 0 / 490.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.1649, allocations: 441.9 kB / 491.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1649, allocations: 0 / 491.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1651, allocations: 27.98 kB / 491.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1651, allocations: 3.984 kB / 491.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1651, allocations: 4 kB / 491.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1651, allocations: 4.062 kB / 491.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1652, allocations: 3.953 kB / 491.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1654, allocations: 224.1 kB / 491.5 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.1655, allocations: 104.9 kB / 491.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.1655, allocations: 11.98 kB / 491.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.1657, allocations: 7.984 kB / 491.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.1658, allocations: 11.94 kB / 491.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1658, allocations: 12.05 kB / 491.7 MB, free: 8.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1659, allocations: 148.5 kB / 491.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1659, allocations: 0 / 491.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005099/0.1665, allocations: 96 kB / 491.9 MB, free: 8.266 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000362/0.1668, allocations: 155.1 kB / 492.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004004/0.1672, allocations: 177.4 kB / 492.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1673, allocations: 0 / 492.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.802e-05/0.1673, allocations: 39.92 kB / 492.3 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.1678, allocations: 41.22 kB / 492.3 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1689, allocations: 0.6088 MB / 492.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1693, allocations: 0.7287 MB / 493.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.1696, allocations: 62.92 kB / 493.7 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.1696, allocations: 23.44 kB / 493.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1696, allocations: 0 / 493.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of Templates: time 0.0077/0.1773, allocations: 3.21 MB / 497 MB, free: 3.188 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 -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/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_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches