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.001351/0.00135, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.00135, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.1 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 75.31 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 62.45 MB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007725/0.1259, allocations: 5.3 MB / 486 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.1292, allocations: 2.643 MB / 488.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1293, allocations: 3.938 kB / 488.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.1297, allocations: 47.67 kB / 488.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.1326, allocations: 1.089 MB / 489.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.133, allocations: 151.1 kB / 489.9 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.1335, allocations: 298.7 kB / 490.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.872e-05/0.1336, allocations: 17.48 kB / 490.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1347, allocations: 0.7366 MB / 491 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.135, allocations: 159.8 kB / 491.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.1351, allocations: 4 kB / 491.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.1372, allocations: 1.291 MB / 492.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.1373, allocations: 35.83 kB / 492.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1374, allocations: 79.59 kB / 492.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1387, allocations: 0.5379 MB / 493.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1387, allocations: 0 / 493.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1387, allocations: 0 / 493.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1388, allocations: 4 kB / 493.1 MB, free: 8.844 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.001121/0.1399, allocations: 0.5614 MB / 493.6 MB, free: 8.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1399, allocations: 9.109 kB / 493.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/0.1405, allocations: 40.72 kB / 493.7 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1407, allocations: 224 kB / 493.9 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1408, allocations: 16.38 kB / 493.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1408, allocations: 15.94 kB / 493.9 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.1413, allocations: 248.5 kB / 494.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1413, allocations: 0 / 494.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.1413, allocations: 8 kB / 494.2 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1414, allocations: 4 kB / 494.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.1417, allocations: 241.4 kB / 494.4 MB, free: 7.375 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.00155/0.1433, allocations: 1.357 MB / 495.8 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.1436, allocations: 82.61 kB / 495.9 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.1437, allocations: 44.78 kB / 495.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.1454, allocations: 2.067 MB / 498 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.1457, allocations: 173.1 kB / 498.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/0.1457, allocations: 0 / 498.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.000941/0.1466, allocations: 355.9 kB / 498.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1467, allocations: 265.2 kB / 498.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1469, allocations: 156.7 kB / 498.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1469, allocations: 29.7 kB / 498.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.147, allocations: 147.7 kB / 499.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.1471, allocations: 67.09 kB / 499.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-05/0.1472, allocations: 65.59 kB / 499.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1473, allocations: 326.8 kB / 499.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.1474, allocations: 39.98 kB / 499.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.1475, allocations: 182.7 kB / 499.8 MB, free: 1.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1478, allocations: 254.5 kB / 0.4883 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1479, allocations: 4 kB / 0.4883 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004222/0.1483, allocations: 261 kB / 0.4885 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1483, allocations: 12.03 kB / 0.4885 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1483, allocations: 8 kB / 0.4886 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1484, allocations: 4 kB / 0.4886 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.1488, allocations: 95.88 kB / 0.4886 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003763/0.1492, allocations: 0.6054 MB / 0.4892 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1494, allocations: 8 kB / 0.4892 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.1494, allocations: 20.09 kB / 0.4893 GB, free: 15.93 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.0001312/0.1496, allocations: 137.7 kB / 0.4894 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.1496, allocations: 20.45 kB / 0.4894 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.1501, allocations: 243.7 kB / 0.4897 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1502, allocations: 0 / 0.4897 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.1502, allocations: 7.938 kB / 0.4897 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1502, allocations: 3.984 kB / 0.4897 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.1506, allocations: 440.8 kB / 0.4901 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1507, allocations: 0 / 0.4901 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.151, allocations: 51.94 kB / 0.4901 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.151, allocations: 3.938 kB / 0.4901 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.151, allocations: 8 kB / 0.4901 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003173/0.1514, allocations: 0.586 MB / 0.4907 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1514, allocations: 0 / 0.4907 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1516, allocations: 146.7 kB / 0.4909 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1517, allocations: 104.9 kB / 0.491 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.1518, allocations: 3.938 kB / 0.491 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1519, allocations: 7.984 kB / 0.491 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.152, allocations: 11.98 kB / 0.491 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.152, allocations: 8 kB / 0.491 GB, free: 13.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1521, allocations: 127.2 kB / 0.4911 GB, free: 13.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1521, allocations: 0 / 0.4911 GB, free: 13.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005438/0.1526, allocations: 132 kB / 0.4912 GB, free: 13.73 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.0007053/0.1534, allocations: 285.2 kB / 0.4915 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.1539, allocations: 163.7 kB / 0.4917 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1539, allocations: 0 / 0.4917 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.1541, allocations: 53.22 kB / 0.4917 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1545, allocations: 53.38 kB / 0.4918 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.156, allocations: 0.8124 MB / 0.4926 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1563, allocations: 0.7168 MB / 0.4933 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1564, allocations: 39.41 kB / 0.4933 GB, free: 11.56 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1565, allocations: 0 / 0.4933 GB, free: 11.56 MB / 382.1 MB Notification: Performance of Templates: time 0.008551/0.165, allocations: 5.071 MB / 0.4982 GB, free: 6.5 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 -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