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.001027/0.001027, allocations: 94.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 205.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.0002593, allocations: 8.234 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1206, allocations: 63.56 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.006516/0.1272, allocations: 5.011 MB / 488.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.1306, allocations: 2.632 MB / 491.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1307, allocations: 3.938 kB / 491.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.131, allocations: 39.81 kB / 491.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.1337, allocations: 0.9768 MB / 492.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1341, allocations: 143 kB / 492.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.1346, allocations: 330.7 kB / 492.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.1347, allocations: 17.53 kB / 492.9 MB, free: 11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.136, allocations: 0.8533 MB / 493.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.1362, allocations: 147.9 kB / 493.9 MB, free: 10 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.1363, allocations: 8 kB / 493.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.1386, allocations: 1.411 MB / 495.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.9e-05/0.1387, allocations: 31.84 kB / 495.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.1389, allocations: 105.3 kB / 495.4 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009479/0.1398, allocations: 387.2 kB / 495.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.1399, allocations: 3.984 kB / 495.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1399, allocations: 0 / 495.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1399, allocations: 0 / 495.8 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.001136/0.141, allocations: 0.5302 MB / 496.3 MB, free: 7.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1411, allocations: 9.953 kB / 496.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005101/0.1416, allocations: 48.72 kB / 496.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1418, allocations: 204.2 kB / 496.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1419, allocations: 16.38 kB / 496.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1419, allocations: 19.94 kB / 496.6 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.1423, allocations: 244.5 kB / 496.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1424, allocations: 0 / 496.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.1424, allocations: 12 kB / 496.9 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1424, allocations: 4 kB / 496.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.1428, allocations: 232.5 kB / 497.1 MB, free: 6.633 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.001324/0.1441, allocations: 1.365 MB / 498.5 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1443, allocations: 94.53 kB / 498.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.1444, allocations: 36.84 kB / 498.6 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/0.1459, allocations: 2.063 MB / 0.4889 GB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.1462, allocations: 167 kB / 0.4891 GB, free: 2.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/0.1463, allocations: 0 / 0.4891 GB, free: 2.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001029/0.1473, allocations: 355 kB / 0.4894 GB, free: 1.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.1474, allocations: 270 kB / 0.4897 GB, free: 1.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1476, allocations: 160.7 kB / 0.4898 GB, free: 1.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1476, allocations: 25.7 kB / 0.4899 GB, free: 1.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.1477, allocations: 147.7 kB / 0.49 GB, free: 1.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.1478, allocations: 67.09 kB / 0.4901 GB, free: 1.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.1478, allocations: 29.7 kB / 0.4901 GB, free: 1.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1479, allocations: 322.8 kB / 0.4904 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.148, allocations: 43.97 kB / 0.4905 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1482, allocations: 178.7 kB / 0.4906 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.1485, allocations: 266.5 kB / 0.4909 GB, free: 248 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.1485, allocations: 4.656 kB / 0.4909 GB, free: 244 kB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004206/0.1489, allocations: 260.6 kB / 0.4911 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.149, allocations: 8 kB / 0.4911 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.149, allocations: 4.656 kB / 0.4911 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.149, allocations: 8 kB / 0.4911 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.1495, allocations: 99.88 kB / 0.4912 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003452/0.1498, allocations: 0.5937 MB / 0.4918 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.15, allocations: 15.94 kB / 0.4918 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.15, allocations: 23.98 kB / 0.4919 GB, free: 15.21 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.0001381/0.1502, allocations: 137.8 kB / 0.492 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.1502, allocations: 23.75 kB / 0.492 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.1507, allocations: 227.8 kB / 0.4922 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1507, allocations: 4 kB / 0.4922 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1507, allocations: 3.938 kB / 0.4922 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1507, allocations: 4.062 kB / 0.4922 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1511, allocations: 448.8 kB / 0.4927 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1512, allocations: 0 / 0.4927 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.1515, allocations: 55.95 kB / 0.4927 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.1515, allocations: 3.938 kB / 0.4927 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1515, allocations: 4 kB / 0.4927 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002762/0.1518, allocations: 0.5899 MB / 0.4933 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1518, allocations: 0 / 0.4933 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.152, allocations: 146.5 kB / 0.4934 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.1521, allocations: 112.9 kB / 0.4936 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.1522, allocations: 4 kB / 0.4936 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1523, allocations: 12.08 kB / 0.4936 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.1523, allocations: 11.92 kB / 0.4936 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.1524, allocations: 12 kB / 0.4936 GB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.516e-05/0.1525, allocations: 123.8 kB / 0.4937 GB, free: 13.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1525, allocations: 0 / 0.4937 GB, free: 13.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005134/0.153, allocations: 140 kB / 0.4938 GB, free: 12.99 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.0006109/0.1536, allocations: 271.9 kB / 0.4941 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.1541, allocations: 155.9 kB / 0.4943 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.1541, allocations: 0 / 0.4943 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.1543, allocations: 55.91 kB / 0.4943 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.1547, allocations: 52.89 kB / 0.4944 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1562, allocations: 0.8987 MB / 0.4952 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1564, allocations: 0.7168 MB / 0.4959 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1565, allocations: 35.42 kB / 0.496 GB, free: 10.75 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1565, allocations: 0 / 0.496 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Templates: time 0.008281/0.1648, allocations: 5.068 MB / 0.5009 GB, free: 5.699 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