Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 107.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 188 kB / 19.34 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 243 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.213/0.213, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 60.44 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.00936/0.1376, allocations: 5.241 MB / 475.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.1405, allocations: 2.651 MB / 478.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.1406, allocations: 4 kB / 478.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.141, allocations: 43.69 kB / 478.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.1437, allocations: 1.081 MB / 479.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1441, allocations: 155.9 kB / 479.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.1446, allocations: 294.7 kB / 480.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.951e-05/0.1447, allocations: 17.56 kB / 480.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.146, allocations: 0.7483 MB / 480.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.1463, allocations: 147.6 kB / 481.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1463, allocations: 8 kB / 481.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.1487, allocations: 1.295 MB / 482.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.1487, allocations: 43.77 kB / 482.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.1488, allocations: 75.66 kB / 482.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.1496, allocations: 0.5223 MB / 483 MB, free: 1.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1497, allocations: 3.938 kB / 483 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1497, allocations: 0 / 483 MB, free: 1.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1497, allocations: 0 / 483 MB, free: 1.273 MB / 350.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.0009949/0.1507, allocations: 0.5643 MB / 483.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1507, allocations: 8.031 kB / 483.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004618/0.1512, allocations: 52.7 kB / 483.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.1516, allocations: 216 kB / 483.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1517, allocations: 12.38 kB / 483.9 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.1517, allocations: 19.94 kB / 483.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.1522, allocations: 244.5 kB / 484.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1522, allocations: 4 kB / 484.1 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.1522, allocations: 12 kB / 484.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1522, allocations: 4 kB / 484.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.1526, allocations: 236.5 kB / 484.4 MB, free: 15.8 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.001587/0.1542, allocations: 1.361 MB / 485.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1545, allocations: 82.61 kB / 485.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.1545, allocations: 44.84 kB / 485.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001744/0.1563, allocations: 2.043 MB / 487.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.1566, allocations: 167 kB / 488.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.1566, allocations: 0 / 488.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001028/0.1576, allocations: 356.3 kB / 488.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.1578, allocations: 277.1 kB / 488.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.158, allocations: 149.7 kB / 488.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.158, allocations: 29.69 kB / 488.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1581, allocations: 147.7 kB / 489 MB, free: 10.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.1582, allocations: 67.08 kB / 489.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.1583, allocations: 61.61 kB / 489.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1584, allocations: 330.8 kB / 489.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.171e-05/0.1585, allocations: 39.97 kB / 489.5 MB, free: 9.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.1587, allocations: 184.3 kB / 489.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.1591, allocations: 265.4 kB / 489.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1591, allocations: 4 kB / 489.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004463/0.1595, allocations: 261.6 kB / 490.2 MB, free: 9.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1596, allocations: 8 kB / 490.2 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1596, allocations: 4 kB / 490.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.1596, allocations: 8 kB / 490.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.1602, allocations: 95.81 kB / 490.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004594/0.1606, allocations: 0.6015 MB / 490.9 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.1608, allocations: 12.19 kB / 490.9 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.1608, allocations: 20 kB / 490.9 MB, free: 8.363 MB / 366.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.0001605/0.161, allocations: 133.7 kB / 491.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.1611, allocations: 27.8 kB / 491.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/0.1616, allocations: 227.8 kB / 491.3 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1616, allocations: 4 kB / 491.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1616, allocations: 3.938 kB / 491.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1616, allocations: 0 / 491.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.1622, allocations: 440.8 kB / 491.8 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1622, allocations: 0 / 491.8 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.1625, allocations: 55.89 kB / 491.8 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1625, allocations: 3.938 kB / 491.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1626, allocations: 8 kB / 491.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002981/0.1629, allocations: 0.5863 MB / 492.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1629, allocations: 0 / 492.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.1631, allocations: 158.5 kB / 492.6 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.1632, allocations: 97 kB / 492.7 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.1632, allocations: 7.938 kB / 492.7 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1634, allocations: 11.98 kB / 492.7 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1634, allocations: 7.984 kB / 492.7 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1634, allocations: 4 kB / 492.7 MB, free: 6.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1635, allocations: 127.2 kB / 492.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1635, allocations: 0 / 492.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005216/0.1641, allocations: 128 kB / 492.9 MB, free: 6.176 MB / 366.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.0005806/0.1647, allocations: 279.2 kB / 493.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004708/0.1651, allocations: 156.7 kB / 493.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1652, allocations: 320 / 493.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.1654, allocations: 51.91 kB / 493.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1657, allocations: 56.11 kB / 493.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.1674, allocations: 0.7562 MB / 494.2 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1678, allocations: 0.7206 MB / 494.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.168, allocations: 77.64 kB / 495 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.1681, allocations: 31.42 kB / 495.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1681, allocations: 0 / 495.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of Templates: time 0.008869/0.177, allocations: 4.49 MB / 499.5 MB, free: 15.55 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches