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.00137/0.00137, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 75.41 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1399, allocations: 62.46 MB / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008744/0.1487, allocations: 5.3 MB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.1523, allocations: 2.647 MB / 488.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1524, allocations: 0 / 488.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.1528, allocations: 39.75 kB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.1562, allocations: 1.101 MB / 489.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1566, allocations: 147.3 kB / 489.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.1571, allocations: 302.7 kB / 489.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.433e-05/0.1571, allocations: 17.53 kB / 489.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.1584, allocations: 0.7366 MB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.1587, allocations: 151.8 kB / 490.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.1587, allocations: 8 kB / 490.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.161, allocations: 1.291 MB / 491.9 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.1611, allocations: 43.77 kB / 491.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1613, allocations: 79.66 kB / 492 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.1624, allocations: 0.534 MB / 492.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1624, allocations: 0 / 492.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1624, allocations: 0 / 492.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1625, allocations: 0 / 492.5 MB, free: 8.805 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.001148/0.1636, allocations: 0.5614 MB / 493.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1637, allocations: 9.109 kB / 493.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.1641, allocations: 52.72 kB / 493.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1644, allocations: 212 kB / 493.3 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1644, allocations: 20.36 kB / 493.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.1645, allocations: 19.94 kB / 493.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.1649, allocations: 240.5 kB / 493.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.165, allocations: 0 / 493.6 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.165, allocations: 12 kB / 493.6 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.165, allocations: 7.938 kB / 493.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.1654, allocations: 233.4 kB / 493.9 MB, free: 7.336 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.00152/0.1669, allocations: 1.361 MB / 495.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.1671, allocations: 86.61 kB / 495.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.1672, allocations: 43.42 kB / 495.3 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/0.1691, allocations: 2.063 MB / 497.4 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.1695, allocations: 163 kB / 497.6 MB, free: 3.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 3.407e-06/0.1695, allocations: 3.938 kB / 497.6 MB, free: 3.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001015/0.1705, allocations: 367.1 kB / 497.9 MB, free: 2.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/0.1707, allocations: 261 kB / 498.2 MB, free: 2.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.171, allocations: 149.7 kB / 498.3 MB, free: 2.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.171, allocations: 34.52 kB / 498.4 MB, free: 2.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1712, allocations: 151.7 kB / 498.5 MB, free: 1.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.1712, allocations: 63.11 kB / 498.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.1713, allocations: 65.59 kB / 498.6 MB, free: 1.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1715, allocations: 322.8 kB / 499 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.1716, allocations: 43.97 kB / 499 MB, free: 1.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.1718, allocations: 186.7 kB / 499.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.1722, allocations: 262.5 kB / 499.4 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1722, allocations: 0 / 499.4 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004524/0.1726, allocations: 260.6 kB / 499.7 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1727, allocations: 8 kB / 499.7 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1727, allocations: 4 kB / 499.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.1727, allocations: 8 kB / 499.7 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.1732, allocations: 104.4 kB / 499.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004373/0.1736, allocations: 0.5976 MB / 0.4887 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1738, allocations: 12.66 kB / 0.4887 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.1738, allocations: 20 kB / 0.4887 GB, free: 15.88 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.0001393/0.174, allocations: 137.7 kB / 0.4888 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.174, allocations: 19.81 kB / 0.4889 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.1746, allocations: 235.8 kB / 0.4891 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1746, allocations: 4 kB / 0.4891 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.1746, allocations: 3.938 kB / 0.4891 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1746, allocations: 0 / 0.4891 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.1751, allocations: 444.9 kB / 0.4895 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1751, allocations: 0 / 0.4895 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.1755, allocations: 55.89 kB / 0.4896 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1755, allocations: 3.938 kB / 0.4896 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1755, allocations: 8 kB / 0.4896 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004096/0.1759, allocations: 0.5821 MB / 0.4902 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.176, allocations: 0 / 0.4902 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1762, allocations: 154.6 kB / 0.4903 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1763, allocations: 100.9 kB / 0.4904 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.1764, allocations: 7.938 kB / 0.4904 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.1765, allocations: 8 kB / 0.4904 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.1766, allocations: 7.984 kB / 0.4904 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.1766, allocations: 12 kB / 0.4904 GB, free: 13.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1767, allocations: 127.2 kB / 0.4906 GB, free: 13.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1767, allocations: 0 / 0.4906 GB, free: 13.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.1773, allocations: 132 kB / 0.4907 GB, free: 13.68 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.0006574/0.1779, allocations: 279.9 kB / 0.4909 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.1784, allocations: 164.5 kB / 0.4911 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1785, allocations: 8.172 kB / 0.4911 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1787, allocations: 47.91 kB / 0.4912 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1791, allocations: 47.95 kB / 0.4912 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.1807, allocations: 0.7874 MB / 0.492 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1811, allocations: 0.7128 MB / 0.4927 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002771/0.1814, allocations: 77.7 kB / 0.4927 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.1815, allocations: 31.42 kB / 0.4928 GB, free: 11.48 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1815, allocations: 192 / 0.4928 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Templates: time 0.009859/0.1913, allocations: 4.699 MB / 0.4974 GB, free: 6.812 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches