Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001173, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 75.89 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007408/0.1187, allocations: 5.309 MB / 486.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.1217, allocations: 2.639 MB / 489.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.1218, allocations: 0 / 489.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1221, allocations: 43.75 kB / 489.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.1245, allocations: 1.101 MB / 490.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.1248, allocations: 151.3 kB / 490.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.1252, allocations: 302.6 kB / 491 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.1253, allocations: 13.55 kB / 491 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.1264, allocations: 0.7367 MB / 491.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1266, allocations: 151.5 kB / 491.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1267, allocations: 8 kB / 491.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.1285, allocations: 1.341 MB / 493.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.1286, allocations: 35.83 kB / 493.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.977e-05/0.1287, allocations: 79.66 kB / 493.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007304/0.1294, allocations: 0.5418 MB / 493.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1295, allocations: 0 / 493.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1295, allocations: 0 / 493.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1295, allocations: 0 / 493.9 MB, free: 8.055 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008642/0.1303, allocations: 0.5576 MB / 494.5 MB, free: 7.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1304, allocations: 13.11 kB / 494.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.1308, allocations: 44.7 kB / 494.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.1311, allocations: 216.1 kB / 494.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1312, allocations: 8.375 kB / 494.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1312, allocations: 19.94 kB / 494.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.1316, allocations: 252.5 kB / 495 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1316, allocations: 3.938 kB / 495 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.1316, allocations: 8 kB / 495 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1316, allocations: 4 kB / 495 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.132, allocations: 229.4 kB / 495.2 MB, free: 6.598 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.001161/0.1331, allocations: 1.361 MB / 496.6 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.1333, allocations: 90.55 kB / 496.7 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.1334, allocations: 40.84 kB / 496.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.1349, allocations: 2.059 MB / 498.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.1351, allocations: 163 kB / 498.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.1351, allocations: 0 / 498.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008423/0.136, allocations: 363.2 kB / 499.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.1361, allocations: 261 kB / 499.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1362, allocations: 149.7 kB / 499.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1363, allocations: 30.52 kB / 499.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.1364, allocations: 151.7 kB / 499.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.1364, allocations: 67.09 kB / 499.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.1365, allocations: 65.59 kB / 0.4883 GB, free: 1.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1366, allocations: 322.8 kB / 0.4886 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.1367, allocations: 47.91 kB / 0.4886 GB, free: 0.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.1369, allocations: 183.6 kB / 0.4888 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.1372, allocations: 257.9 kB / 0.4891 GB, free: 192 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1372, allocations: 4 kB / 0.4891 GB, free: 188 kB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004082/0.1376, allocations: 257.2 kB / 0.4893 GB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1376, allocations: 4 kB / 0.4893 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1376, allocations: 8 kB / 0.4893 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1376, allocations: 4 kB / 0.4893 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.1381, allocations: 104.4 kB / 0.4894 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003351/0.1384, allocations: 0.6054 MB / 0.49 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1386, allocations: 8 kB / 0.49 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.1386, allocations: 24.64 kB / 0.4901 GB, free: 15.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.1387, allocations: 137.7 kB / 0.4902 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.1388, allocations: 15.81 kB / 0.4902 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.1392, allocations: 243.8 kB / 0.4904 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1392, allocations: 0 / 0.4904 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1393, allocations: 7.938 kB / 0.4904 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1393, allocations: 3.938 kB / 0.4904 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.1397, allocations: 444.8 kB / 0.4909 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1397, allocations: 96 / 0.4909 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.14, allocations: 55.91 kB / 0.4909 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.14, allocations: 7.938 kB / 0.4909 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.14, allocations: 7.984 kB / 0.4909 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002749/0.1403, allocations: 0.5782 MB / 0.4915 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1403, allocations: 0 / 0.4915 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.1405, allocations: 146.7 kB / 0.4916 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.1406, allocations: 100.9 kB / 0.4917 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.1407, allocations: 11.94 kB / 0.4917 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1408, allocations: 0 / 0.4917 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.1408, allocations: 11.98 kB / 0.4918 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1408, allocations: 8 kB / 0.4918 GB, free: 13.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.728e-05/0.1409, allocations: 127.2 kB / 0.4919 GB, free: 13.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1409, allocations: 0 / 0.4919 GB, free: 13.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004558/0.1414, allocations: 139.9 kB / 0.492 GB, free: 12.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004991/0.1419, allocations: 269.6 kB / 0.4923 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.1424, allocations: 156.4 kB / 0.4924 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.1424, allocations: 4 kB / 0.4924 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1426, allocations: 47.91 kB / 0.4925 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.143, allocations: 63.7 kB / 0.4925 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1442, allocations: 0.7833 MB / 0.4933 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1445, allocations: 0.7128 MB / 0.494 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.1447, allocations: 69.72 kB / 0.4941 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.1448, allocations: 31.42 kB / 0.4941 GB, free: 10.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1448, allocations: 0 / 0.4941 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Templates: time 0.007905/0.1527, allocations: 4.584 MB / 0.4986 GB, free: 6.207 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches