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.0007767/0.0007767, allocations: 96.33 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 211.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.8 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2585/0.2585, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003013, allocations: 8.375 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 63.56 MB / 483.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007629/0.145, allocations: 5.019 MB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.1482, allocations: 2.628 MB / 490.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.1483, allocations: 8 kB / 490.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1486, allocations: 35.81 kB / 490.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.1518, allocations: 0.9811 MB / 491.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.1521, allocations: 138.8 kB / 491.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.1527, allocations: 334.7 kB / 492.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.73e-05/0.1528, allocations: 17.53 kB / 492.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.1542, allocations: 0.8456 MB / 493.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.1545, allocations: 155.8 kB / 493.2 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1546, allocations: 8 kB / 493.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.1569, allocations: 1.411 MB / 494.7 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.157, allocations: 31.89 kB / 494.7 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1572, allocations: 109.2 kB / 494.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008809/0.158, allocations: 0.5302 MB / 495.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.1581, allocations: 0 / 495.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1581, allocations: 3.938 kB / 495.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1581, allocations: 0 / 495.3 MB, free: 7.84 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.001142/0.1592, allocations: 0.5263 MB / 495.9 MB, free: 7.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1593, allocations: 13.95 kB / 495.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.1598, allocations: 44.72 kB / 495.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.16, allocations: 212.1 kB / 496.1 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.16, allocations: 12.31 kB / 496.1 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1601, allocations: 23.94 kB / 496.2 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.1605, allocations: 240.6 kB / 496.4 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1605, allocations: 3.938 kB / 496.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.1607, allocations: 8 kB / 496.4 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1607, allocations: 8 kB / 496.4 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.161, allocations: 224.6 kB / 496.6 MB, free: 6.422 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.001524/0.1626, allocations: 1.368 MB / 498 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1628, allocations: 90.53 kB / 498.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.923e-05/0.1629, allocations: 40.84 kB / 498.1 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.1646, allocations: 2.055 MB / 0.4885 GB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.1649, allocations: 171 kB / 0.4886 GB, free: 2.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.1649, allocations: 0 / 0.4886 GB, free: 2.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009724/0.1659, allocations: 359 kB / 0.489 GB, free: 1.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.166, allocations: 266 kB / 0.4892 GB, free: 1.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1662, allocations: 153.7 kB / 0.4894 GB, free: 1.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1662, allocations: 29.64 kB / 0.4894 GB, free: 1.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1663, allocations: 143.8 kB / 0.4895 GB, free: 1.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.1664, allocations: 71.02 kB / 0.4896 GB, free: 1.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.1665, allocations: 33.7 kB / 0.4896 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1666, allocations: 322.8 kB / 0.4899 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.1667, allocations: 39.98 kB / 0.49 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.1669, allocations: 183.4 kB / 0.4902 GB, free: 364 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.1672, allocations: 262.5 kB / 0.4904 GB, free: 32 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1672, allocations: 0 / 0.4904 GB, free: 32 kB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004295/0.1676, allocations: 253.1 kB / 0.4906 GB, free: 15.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.1677, allocations: 10.5 kB / 0.4907 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1677, allocations: 8.594 kB / 0.4907 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1677, allocations: 12 kB / 0.4907 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.1682, allocations: 99.81 kB / 0.4908 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004351/0.1686, allocations: 0.6054 MB / 0.4914 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1688, allocations: 8 kB / 0.4914 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.1689, allocations: 20 kB / 0.4914 GB, free: 14.99 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.0001514/0.169, allocations: 145.8 kB / 0.4915 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.1691, allocations: 15.81 kB / 0.4915 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000572/0.1696, allocations: 231.7 kB / 0.4918 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1697, allocations: 0 / 0.4918 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1697, allocations: 3.938 kB / 0.4918 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1697, allocations: 12.05 kB / 0.4918 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.1702, allocations: 436.9 kB / 0.4922 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1702, allocations: 7.938 kB / 0.4922 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.1705, allocations: 51.94 kB / 0.4923 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.1705, allocations: 3.938 kB / 0.4923 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1706, allocations: 4 kB / 0.4923 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003293/0.1709, allocations: 0.59 MB / 0.4928 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1709, allocations: 3.938 kB / 0.4928 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1711, allocations: 146.5 kB / 0.493 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1713, allocations: 112.9 kB / 0.4931 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.1713, allocations: 8 kB / 0.4931 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1714, allocations: 4.094 kB / 0.4931 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1715, allocations: 11.98 kB / 0.4931 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.1715, allocations: 12 kB / 0.4931 GB, free: 13.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1716, allocations: 131.8 kB / 0.4932 GB, free: 12.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1716, allocations: 0 / 0.4932 GB, free: 12.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005647/0.1722, allocations: 132 kB / 0.4934 GB, free: 12.78 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.0006967/0.1729, allocations: 272.7 kB / 0.4936 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004627/0.1734, allocations: 160 kB / 0.4938 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1734, allocations: 0 / 0.4938 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.1736, allocations: 52.06 kB / 0.4938 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.174, allocations: 53.08 kB / 0.4939 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.1756, allocations: 0.8604 MB / 0.4947 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1759, allocations: 0.7206 MB / 0.4954 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.1762, allocations: 77.83 kB / 0.4955 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.1763, allocations: 31.36 kB / 0.4955 GB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1763, allocations: 0 / 0.4955 GB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.009899/0.1862, allocations: 4.572 MB / 0.5 GB, free: 5.965 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