Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 101.5 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3219/0.3219, allocations: 43.5 MB / 360.7 MB, free: 51.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 55.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1173, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006316/0.1237, allocations: 5.001 MB / 492 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004469/0.1282, allocations: 4.579 MB / 496.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.1284, allocations: 4 kB / 496.6 MB, free: 2.914 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1287, allocations: 47.78 kB / 496.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.1303, allocations: 0.6023 MB / 497.2 MB, free: 2.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1307, allocations: 147.8 kB / 497.4 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.1313, allocations: 450 kB / 497.8 MB, free: 1.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.1314, allocations: 13.69 kB / 497.8 MB, free: 1.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.1317, allocations: 155.3 kB / 498 MB, free: 1.508 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1319, allocations: 131.5 kB / 498.1 MB, free: 1.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.1319, allocations: 7.984 kB / 498.1 MB, free: 1.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.1328, allocations: 359.5 kB / 498.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.1329, allocations: 39.88 kB / 498.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.133, allocations: 107.5 kB / 498.6 MB, free: 0.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007428/0.1338, allocations: 415.2 kB / 499 MB, free: 480 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1338, allocations: 0 / 499 MB, free: 480 kB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1338, allocations: 0 / 499 MB, free: 480 kB / 378.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1338, allocations: 0 / 499 MB, free: 480 kB / 378.7 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.0009037/0.1347, allocations: 0.5969 MB / 499.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1347, allocations: 8.031 kB / 499.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.1349, allocations: 28.66 kB / 499.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1351, allocations: 224.1 kB / 499.9 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.1352, allocations: 119.9 kB / 500 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1353, allocations: 32.31 kB / 0.4883 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.1357, allocations: 319.6 kB / 0.4886 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1357, allocations: 3.938 kB / 0.4886 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.1358, allocations: 19.94 kB / 0.4886 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.1358, allocations: 8 kB / 0.4886 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.1368, allocations: 0.743 MB / 0.4894 GB, free: 14.25 MB / 394.7 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.001346/0.1382, allocations: 1.242 MB / 0.4906 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.1385, allocations: 150.8 kB / 0.4907 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1386, allocations: 76.58 kB / 0.4908 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/0.1406, allocations: 2.662 MB / 0.4934 GB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1406, allocations: 34.56 kB / 0.4934 GB, free: 9.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.1406, allocations: 7.938 kB / 0.4934 GB, free: 9.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005634/0.1412, allocations: 209.7 kB / 0.4936 GB, free: 9.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1412, allocations: 59.34 kB / 0.4937 GB, free: 9.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1414, allocations: 210.9 kB / 0.4939 GB, free: 8.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1414, allocations: 33.7 kB / 0.4939 GB, free: 8.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1415, allocations: 210.8 kB / 0.4941 GB, free: 8.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1416, allocations: 47.36 kB / 0.4942 GB, free: 8.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.1417, allocations: 82.03 kB / 0.4943 GB, free: 8.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1418, allocations: 330.8 kB / 0.4946 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.1419, allocations: 52.83 kB / 0.4946 GB, free: 8.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.1421, allocations: 322.1 kB / 0.4949 GB, free: 7.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.1425, allocations: 421.2 kB / 0.4953 GB, free: 7.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1425, allocations: 4 kB / 0.4953 GB, free: 7.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004933/0.143, allocations: 380.7 kB / 0.4957 GB, free: 6.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1431, allocations: 8.969 kB / 0.4957 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1431, allocations: 8 kB / 0.4957 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1431, allocations: 16 kB / 0.4957 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.1434, allocations: 115.8 kB / 0.4958 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.1435, allocations: 15.94 kB / 0.4959 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1437, allocations: 19.98 kB / 0.4959 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.1437, allocations: 28 kB / 0.4959 GB, free: 6.59 MB / 394.7 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.0001308/0.1438, allocations: 157.5 kB / 0.496 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.1439, allocations: 19.81 kB / 0.4961 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.1442, allocations: 155.1 kB / 0.4962 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.1442, allocations: 3.938 kB / 0.4962 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1442, allocations: 4 kB / 0.4962 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1442, allocations: 11.86 kB / 0.4962 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.1448, allocations: 435.2 kB / 0.4966 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1448, allocations: 64 / 0.4966 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1449, allocations: 39.91 kB / 0.4967 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.145, allocations: 3.938 kB / 0.4967 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.145, allocations: 8 kB / 0.4967 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.145, allocations: 0 / 0.4967 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.145, allocations: 0 / 0.4967 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.1455, allocations: 0.8064 MB / 0.4975 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.1456, allocations: 100.9 kB / 0.4976 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.1456, allocations: 4 kB / 0.4976 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1458, allocations: 11.98 kB / 0.4976 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.1458, allocations: 11.98 kB / 0.4976 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1459, allocations: 4 kB / 0.4976 GB, free: 4.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.146, allocations: 156.5 kB / 0.4978 GB, free: 4.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.146, allocations: 0 / 0.4978 GB, free: 4.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005923/0.1466, allocations: 99.94 kB / 0.4979 GB, free: 4.426 MB / 394.7 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.0003227/0.1469, allocations: 171.1 kB / 0.498 GB, free: 4.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1472, allocations: 181.9 kB / 0.4982 GB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1472, allocations: 0 / 0.4982 GB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.1473, allocations: 35.92 kB / 0.4982 GB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1477, allocations: 52.59 kB / 0.4983 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1488, allocations: 0.7015 MB / 0.499 GB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1491, allocations: 0.7365 MB / 0.4997 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002522/0.1493, allocations: 54.84 kB / 0.4997 GB, free: 2.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.1494, allocations: 31.42 kB / 0.4998 GB, free: 2.395 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1494, allocations: 0 / 0.4998 GB, free: 2.395 MB / 394.7 MB Notification: Performance of Templates: time 0.1864/0.3358, allocations: 3.359 MB / 0.503 GB, free: 60.25 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches