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.001485/0.001485, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001662/0.001662, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.514/1.514, allocations: 222.9 MB / 242.5 MB, free: 13.79 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.239/0.239, allocations: 44.17 MB / 336.8 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 58.94 kB / 408.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1062, allocations: 60.84 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00583/0.1121, allocations: 4.975 MB / 474.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.1171, allocations: 4.575 MB / 478.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1172, allocations: 0 / 478.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1175, allocations: 51.7 kB / 478.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.1191, allocations: 0.5946 MB / 479.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.1195, allocations: 154 kB / 479.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005762/0.1201, allocations: 438.1 kB / 480 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.84e-05/0.1201, allocations: 13.69 kB / 480 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.1204, allocations: 151.4 kB / 480.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.1207, allocations: 131.5 kB / 480.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.1208, allocations: 8 kB / 480.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009366/0.1217, allocations: 351.5 kB / 480.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1219, allocations: 51.77 kB / 480.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.122, allocations: 107.5 kB / 480.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.1226, allocations: 299.6 kB / 481 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1226, allocations: 0 / 481 MB, free: 2.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1226, allocations: 0 / 481 MB, free: 2.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1226, allocations: 0 / 481 MB, free: 2.938 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.001059/0.1237, allocations: 0.5891 MB / 481.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1237, allocations: 12.03 kB / 481.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.124, allocations: 28.75 kB / 481.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1243, allocations: 224 kB / 481.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.1245, allocations: 123.9 kB / 482 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-05/0.1245, allocations: 24.38 kB / 482 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.1254, allocations: 327.6 kB / 482.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1254, allocations: 0 / 482.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.1254, allocations: 12 kB / 482.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.1255, allocations: 4 kB / 482.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007456/0.1262, allocations: 0.7429 MB / 483.1 MB, free: 0.7266 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.001234/0.1275, allocations: 1.242 MB / 484.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.1278, allocations: 150.8 kB / 484.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1279, allocations: 80.56 kB / 484.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00207/0.13, allocations: 2.655 MB / 487.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.13, allocations: 34.56 kB / 487.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.13, allocations: 0 / 487.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006468/0.1307, allocations: 220.8 kB / 487.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1307, allocations: 59.28 kB / 487.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1309, allocations: 207.9 kB / 487.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.131, allocations: 33.7 kB / 487.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1311, allocations: 214.8 kB / 488 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.1311, allocations: 51.34 kB / 488 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1312, allocations: 85.94 kB / 488.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1313, allocations: 326.8 kB / 488.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.1314, allocations: 44.84 kB / 488.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.1317, allocations: 326 kB / 488.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.1321, allocations: 433.1 kB / 489.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.1321, allocations: 7.938 kB / 489.2 MB, free: 9.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000546/0.1327, allocations: 369.5 kB / 489.6 MB, free: 9.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1327, allocations: 12 kB / 489.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.1327, allocations: 8 kB / 489.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1328, allocations: 12 kB / 489.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.1331, allocations: 115.8 kB / 489.7 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.1331, allocations: 19.92 kB / 489.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.1334, allocations: 20 kB / 489.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.1334, allocations: 32.22 kB / 489.8 MB, free: 9.055 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.0001283/0.1336, allocations: 153.6 kB / 490 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.1336, allocations: 19.72 kB / 490 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.1339, allocations: 157.9 kB / 490.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.134, allocations: 11.94 kB / 490.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.134, allocations: 0 / 490.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.134, allocations: 0 / 490.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.1345, allocations: 431.2 kB / 490.6 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1345, allocations: 4 kB / 490.6 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1347, allocations: 36 kB / 490.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1347, allocations: 7.969 kB / 490.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1347, allocations: 4 kB / 490.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1348, allocations: 4 kB / 490.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1348, allocations: 0 / 490.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.135, allocations: 212.1 kB / 490.8 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.1351, allocations: 108.8 kB / 490.9 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.1351, allocations: 7.938 kB / 490.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1353, allocations: 11.98 kB / 491 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.1354, allocations: 7.984 kB / 491 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1354, allocations: 8 kB / 491 MB, free: 7.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1355, allocations: 152.5 kB / 491.1 MB, free: 7.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1355, allocations: 0 / 491.1 MB, free: 7.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004858/0.136, allocations: 88 kB / 491.2 MB, free: 7.555 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.0003271/0.1363, allocations: 179.5 kB / 491.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.1366, allocations: 177.9 kB / 491.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1367, allocations: 0 / 491.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.1367, allocations: 47.86 kB / 491.6 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.1372, allocations: 55.19 kB / 491.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.1381, allocations: 0.5872 MB / 492.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1384, allocations: 0.7287 MB / 493 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.1385, allocations: 39.42 kB / 493 MB, free: 5.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1385, allocations: 3.938 kB / 493 MB, free: 5.676 MB / 366.1 MB Notification: Performance of Templates: time 0.005546/0.144, allocations: 3.433 MB / 496.4 MB, free: 2.25 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/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