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.0009676/0.0009677, allocations: 94.59 kB / 18 MB, free: 5.602 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.001098/0.001098, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.374/1.374, allocations: 223.3 MB / 242.9 MB, free: 32 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.1921/0.1921, allocations: 44.25 MB / 338.3 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003228, allocations: 12 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 61.93 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005859/0.1249, allocations: 4.593 MB / 477.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00499/0.1299, allocations: 4.501 MB / 482 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1301, allocations: 0 / 482 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1304, allocations: 47.73 kB / 482.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.1323, allocations: 0.61 MB / 482.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.1327, allocations: 141.7 kB / 482.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007994/0.1335, allocations: 446.1 kB / 483.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.1336, allocations: 9.688 kB / 483.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.1339, allocations: 147.4 kB / 483.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.1342, allocations: 135.4 kB / 483.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.1342, allocations: 8 kB / 483.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008651/0.1351, allocations: 351.5 kB / 483.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.1352, allocations: 47.77 kB / 483.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.1354, allocations: 129.2 kB / 484.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005563/0.1359, allocations: 299.6 kB / 484.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1359, allocations: 0 / 484.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.136, allocations: 0 / 484.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.136, allocations: 0 / 484.3 MB, free: 1.875 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.0009772/0.1369, allocations: 0.537 MB / 484.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.137, allocations: 12.03 kB / 484.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1372, allocations: 24.75 kB / 484.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.1374, allocations: 224 kB / 485.1 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.1376, allocations: 127.9 kB / 485.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.1376, allocations: 28.36 kB / 485.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.1381, allocations: 331.6 kB / 485.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.1382, allocations: 0 / 485.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.1382, allocations: 8 kB / 485.6 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.1383, allocations: 4 kB / 485.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008186/0.1391, allocations: 0.743 MB / 486.4 MB, free: 15.71 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.001448/0.1405, allocations: 1.242 MB / 487.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.1409, allocations: 150.8 kB / 487.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.141, allocations: 80.58 kB / 487.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002342/0.1434, allocations: 2.655 MB / 490.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1434, allocations: 34.56 kB / 490.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.1434, allocations: 0 / 490.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006127/0.1441, allocations: 223.9 kB / 490.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.1441, allocations: 59.34 kB / 490.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.1443, allocations: 211.9 kB / 491 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1443, allocations: 29.7 kB / 491 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1444, allocations: 210.8 kB / 491.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.1445, allocations: 51.34 kB / 491.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.1445, allocations: 41.7 kB / 491.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.1446, allocations: 326.8 kB / 491.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.1447, allocations: 52.78 kB / 491.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.145, allocations: 326 kB / 492 MB, free: 9.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.1454, allocations: 433.2 kB / 492.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1454, allocations: 0 / 492.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005182/0.1459, allocations: 373.5 kB / 492.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1459, allocations: 8 kB / 492.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.146, allocations: 12 kB / 492.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.146, allocations: 12 kB / 492.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.1463, allocations: 107.8 kB / 492.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.1463, allocations: 23.92 kB / 493 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.1466, allocations: 19.91 kB / 493 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.1466, allocations: 28.22 kB / 493 MB, free: 8.094 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.0001259/0.1467, allocations: 161.5 kB / 493.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.1468, allocations: 23.69 kB / 493.2 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.1471, allocations: 154.9 kB / 493.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.1471, allocations: 7.938 kB / 493.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1471, allocations: 0 / 493.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1471, allocations: 0 / 493.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.1477, allocations: 427.3 kB / 493.8 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1477, allocations: 0 / 493.8 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1479, allocations: 35.95 kB / 493.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1479, allocations: 4 kB / 493.8 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.1479, allocations: 0 / 493.8 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1479, allocations: 0 / 493.8 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1479, allocations: 7.938 kB / 493.8 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1481, allocations: 220.1 kB / 494 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.1482, allocations: 108.8 kB / 494.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.1483, allocations: 11.98 kB / 494.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1485, allocations: 4 kB / 494.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.1485, allocations: 12.05 kB / 494.2 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1485, allocations: 12 kB / 494.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1487, allocations: 148.5 kB / 494.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1487, allocations: 0 / 494.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004795/0.1491, allocations: 95.98 kB / 494.4 MB, free: 6.582 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.0003229/0.1495, allocations: 179.6 kB / 494.6 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1498, allocations: 177.8 kB / 494.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.1498, allocations: 0 / 494.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.1499, allocations: 44.05 kB / 494.8 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.1504, allocations: 52.27 kB / 494.9 MB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009969/0.1514, allocations: 0.6378 MB / 495.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1517, allocations: 0.7287 MB / 496.2 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.1518, allocations: 39.42 kB / 496.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1518, allocations: 0 / 496.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of Templates: time 0.006027/0.1578, allocations: 3.419 MB / 499.7 MB, free: 1.246 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