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.001362/0.001362, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001607/0.001607, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.337/1.337, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2057/0.2057, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.64 kB / 409.1 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1083, allocations: 60.83 MB / 469.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006308/0.1146, allocations: 4.951 MB / 474.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.1194, allocations: 4.551 MB / 479.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1196, allocations: 3.938 kB / 479.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.1199, allocations: 55.59 kB / 479.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.1216, allocations: 0.6604 MB / 480.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.122, allocations: 157 kB / 480.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.1225, allocations: 366.2 kB / 480.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.1225, allocations: 9.688 kB / 480.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1227, allocations: 155.4 kB / 480.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1229, allocations: 135.4 kB / 481 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.123, allocations: 8 kB / 481 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000755/0.1237, allocations: 331.7 kB / 481.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.1238, allocations: 47.75 kB / 481.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.124, allocations: 115.5 kB / 481.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.1246, allocations: 407.3 kB / 481.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1246, allocations: 0 / 481.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1246, allocations: 4 kB / 481.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1246, allocations: 0 / 481.8 MB, free: 2.43 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.0009574/0.1256, allocations: 0.5774 MB / 482.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1256, allocations: 16.03 kB / 482.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1258, allocations: 24.73 kB / 482.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1261, allocations: 236 kB / 482.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.1262, allocations: 123.9 kB / 482.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1262, allocations: 20.38 kB / 482.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.1267, allocations: 327.6 kB / 483.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1267, allocations: 0 / 483.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.1268, allocations: 12 kB / 483.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.1268, allocations: 8 kB / 483.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.1276, allocations: 0.7352 MB / 483.9 MB, free: 232 kB / 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.001292/0.1289, allocations: 1.25 MB / 485.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.1292, allocations: 146.8 kB / 485.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.1294, allocations: 76.58 kB / 485.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00223/0.1316, allocations: 2.663 MB / 488 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1316, allocations: 38.56 kB / 488.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1317, allocations: 0 / 488.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006459/0.1323, allocations: 220.2 kB / 488.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.1324, allocations: 55.34 kB / 488.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1326, allocations: 211.9 kB / 488.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.1326, allocations: 29.7 kB / 488.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1327, allocations: 214.8 kB / 488.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.1328, allocations: 51.34 kB / 488.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1329, allocations: 89.88 kB / 488.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.133, allocations: 326.8 kB / 489.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.1331, allocations: 44.84 kB / 489.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.1334, allocations: 334 kB / 489.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.1338, allocations: 425.1 kB / 490 MB, free: 9.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1338, allocations: 4 kB / 490 MB, free: 9.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005415/0.1344, allocations: 369.4 kB / 490.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1344, allocations: 12 kB / 490.4 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.1344, allocations: 16 kB / 490.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.1345, allocations: 12 kB / 490.4 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.1348, allocations: 119.7 kB / 490.6 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.1348, allocations: 15.94 kB / 490.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.1351, allocations: 12.44 kB / 490.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.1351, allocations: 35.98 kB / 490.6 MB, free: 8.547 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.0001643/0.1353, allocations: 153.6 kB / 490.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.1353, allocations: 15.81 kB / 490.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.1356, allocations: 154.9 kB / 490.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.1357, allocations: 7.938 kB / 490.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1357, allocations: 0 / 490.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1357, allocations: 0 / 490.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.1362, allocations: 427.3 kB / 491.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1363, allocations: 0 / 491.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1364, allocations: 39.89 kB / 491.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1364, allocations: 0 / 491.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1365, allocations: 11.98 kB / 491.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1365, allocations: 0 / 491.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1365, allocations: 0 / 491.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.1367, allocations: 215.6 kB / 491.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.1368, allocations: 112.8 kB / 491.7 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.1369, allocations: 11.84 kB / 491.7 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.1371, allocations: 11.98 kB / 491.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.1371, allocations: 7.984 kB / 491.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.1371, allocations: 11.98 kB / 491.8 MB, free: 7.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1373, allocations: 152.5 kB / 491.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1373, allocations: 0 / 491.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004797/0.1377, allocations: 92 kB / 492 MB, free: 7.047 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.0003512/0.1381, allocations: 175.1 kB / 492.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.1385, allocations: 177.9 kB / 492.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1385, allocations: 256 / 492.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.1386, allocations: 47.92 kB / 492.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.139, allocations: 52.2 kB / 492.5 MB, free: 6.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.14, allocations: 0.5269 MB / 493 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1403, allocations: 0.7285 MB / 493.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.1404, allocations: 31.44 kB / 493.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1404, allocations: 0 / 493.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of Templates: time 0.005635/0.146, allocations: 3.448 MB / 497.2 MB, free: 1.805 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