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.001459/0.001459, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1251, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007588/0.1328, allocations: 5.299 MB / 486.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.1357, allocations: 2.639 MB / 489.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1358, allocations: 8 kB / 489.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1361, allocations: 43.73 kB / 489.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.1386, allocations: 1.089 MB / 490.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.139, allocations: 159.1 kB / 490.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.1394, allocations: 298.6 kB / 491 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.1395, allocations: 9.547 kB / 491 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.1406, allocations: 0.7366 MB / 491.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.1409, allocations: 159.5 kB / 491.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1409, allocations: 4 kB / 491.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.1428, allocations: 1.341 MB / 493.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.1429, allocations: 39.83 kB / 493.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.143, allocations: 79.59 kB / 493.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.1438, allocations: 0.534 MB / 493.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1438, allocations: 0 / 493.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1438, allocations: 0 / 493.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1438, allocations: 0 / 493.9 MB, free: 8.062 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.0008896/0.1447, allocations: 0.5692 MB / 494.4 MB, free: 7.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1448, allocations: 9.109 kB / 494.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004347/0.1452, allocations: 44.72 kB / 494.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1456, allocations: 220 kB / 494.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1456, allocations: 12.38 kB / 494.7 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1456, allocations: 15.94 kB / 494.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.146, allocations: 252.5 kB / 495 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1461, allocations: 3.938 kB / 495 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.1461, allocations: 8 kB / 495 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1461, allocations: 4 kB / 495 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.1464, allocations: 241.4 kB / 495.2 MB, free: 6.582 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.001244/0.1477, allocations: 1.361 MB / 496.6 MB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1479, allocations: 82.61 kB / 496.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.148, allocations: 40.84 kB / 496.7 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.1494, allocations: 2.055 MB / 498.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.1497, allocations: 163 kB / 498.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.1497, allocations: 0 / 498.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008719/0.1506, allocations: 359 kB / 499.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.1507, allocations: 265 kB / 499.5 MB, free: 1.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1508, allocations: 150.7 kB / 499.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1509, allocations: 33.7 kB / 499.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.151, allocations: 151.7 kB / 499.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.151, allocations: 63.09 kB / 499.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.1511, allocations: 65.59 kB / 0.4883 GB, free: 1.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1512, allocations: 322.8 kB / 0.4886 GB, free: 0.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.1513, allocations: 47.91 kB / 0.4886 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.1515, allocations: 180.3 kB / 0.4888 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1518, allocations: 258.5 kB / 0.4891 GB, free: 188 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1518, allocations: 4 kB / 0.4891 GB, free: 184 kB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004138/0.1522, allocations: 257.1 kB / 0.4893 GB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1523, allocations: 8 kB / 0.4893 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1523, allocations: 4 kB / 0.4893 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1523, allocations: 8 kB / 0.4893 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.1528, allocations: 104.4 kB / 0.4894 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003337/0.1531, allocations: 0.6053 MB / 0.49 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1533, allocations: 12 kB / 0.49 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.1533, allocations: 20 kB / 0.49 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.0001284/0.1534, allocations: 137.7 kB / 0.4902 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.1535, allocations: 19.81 kB / 0.4902 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.1539, allocations: 231.8 kB / 0.4904 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1539, allocations: 7.984 kB / 0.4904 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1539, allocations: 7.938 kB / 0.4904 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.154, allocations: 0 / 0.4904 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.1544, allocations: 440.9 kB / 0.4909 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1544, allocations: 4.094 kB / 0.4909 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.1547, allocations: 55.89 kB / 0.4909 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1547, allocations: 3.938 kB / 0.4909 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1547, allocations: 4 kB / 0.4909 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000271/0.155, allocations: 0.586 MB / 0.4915 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.155, allocations: 0 / 0.4915 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.1552, allocations: 150.6 kB / 0.4916 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.1553, allocations: 92.91 kB / 0.4917 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.1554, allocations: 15.92 kB / 0.4917 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1555, allocations: 4 kB / 0.4917 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1556, allocations: 11.98 kB / 0.4917 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1556, allocations: 4 kB / 0.4918 GB, free: 13.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.283e-05/0.1557, allocations: 131.2 kB / 0.4919 GB, free: 13.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1557, allocations: 0 / 0.4919 GB, free: 13.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000474/0.1562, allocations: 136 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.000512/0.1567, allocations: 271 kB / 0.4923 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004501/0.1571, allocations: 160.3 kB / 0.4924 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1572, allocations: 0 / 0.4924 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.1573, 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.0003458/0.1577, allocations: 63.84 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.001354/0.1591, allocations: 0.7756 MB / 0.4933 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1593, allocations: 0.7168 MB / 0.494 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.1596, allocations: 81.77 kB / 0.4941 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.1596, allocations: 27.44 kB / 0.4941 GB, free: 10.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1597, allocations: 0 / 0.4941 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Templates: time 0.008023/0.1677, allocations: 4.577 MB / 0.4986 GB, free: 6.203 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 cvode -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