Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 110.8 kB / 17.32 MB, free: 6.027 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.00175/0.00175, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.374/1.374, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2255/0.2255, allocations: 44.18 MB / 336.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.73 kB / 407.9 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 60.82 MB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006272/0.1367, allocations: 4.978 MB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004617/0.1413, allocations: 4.536 MB / 478.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1415, allocations: 0 / 478.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.1418, allocations: 47.78 kB / 478.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.1438, allocations: 0.6141 MB / 478.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1442, allocations: 150 kB / 479 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006082/0.1448, allocations: 366.2 kB / 479.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.75e-05/0.1449, allocations: 13.69 kB / 479.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.1452, allocations: 155.3 kB / 479.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1454, allocations: 131.5 kB / 479.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1454, allocations: 8 kB / 479.7 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.1463, allocations: 335.6 kB / 480 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.1464, allocations: 55.75 kB / 480.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1465, allocations: 107.5 kB / 480.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.1472, allocations: 423.2 kB / 480.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1472, allocations: 0 / 480.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.1472, allocations: 4 kB / 480.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1472, allocations: 3.938 kB / 480.6 MB, free: 2.828 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009906/0.1482, allocations: 0.5735 MB / 481.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1483, allocations: 16.03 kB / 481.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1484, allocations: 32.75 kB / 481.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1488, allocations: 224 kB / 481.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.1489, allocations: 123.9 kB / 481.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.1489, allocations: 20.38 kB / 481.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.1495, allocations: 331.6 kB / 481.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1495, allocations: 0 / 481.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.1495, allocations: 15.98 kB / 481.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.1496, allocations: 8 kB / 481.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.1503, allocations: 0.7351 MB / 482.7 MB, free: 0.625 MB / 350.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.001285/0.1516, allocations: 1.238 MB / 483.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.152, allocations: 150.8 kB / 484 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1521, allocations: 84.56 kB / 484.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00222/0.1544, allocations: 2.655 MB / 486.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1544, allocations: 42.55 kB / 486.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.1544, allocations: 0 / 486.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006368/0.155, allocations: 216.8 kB / 487 MB, free: 11.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.1551, allocations: 55.34 kB / 487.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1553, allocations: 219.8 kB / 487.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1553, allocations: 25.7 kB / 487.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1554, allocations: 214.8 kB / 487.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.1555, allocations: 59.33 kB / 487.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/0.1556, allocations: 77.95 kB / 487.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1557, allocations: 330.8 kB / 488 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.1558, allocations: 48.84 kB / 488 MB, free: 10.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.1561, allocations: 322 kB / 488.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.1565, allocations: 433.1 kB / 488.8 MB, free: 9.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1565, allocations: 0 / 488.8 MB, free: 9.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005504/0.157, allocations: 381.4 kB / 489.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1571, allocations: 8 kB / 489.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.1571, allocations: 12 kB / 489.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.1571, allocations: 12 kB / 489.2 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.1575, allocations: 107.8 kB / 489.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.1575, allocations: 19.92 kB / 489.3 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.1577, allocations: 20 kB / 489.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.1578, allocations: 32.28 kB / 489.4 MB, free: 8.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.1579, allocations: 149.6 kB / 489.5 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.158, allocations: 23.78 kB / 489.5 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.1583, allocations: 158.3 kB / 489.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.1583, allocations: 3.938 kB / 489.7 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1583, allocations: 4 kB / 489.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1583, allocations: 0 / 489.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.1589, allocations: 431.2 kB / 490.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1589, allocations: 0 / 490.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.1591, allocations: 39.95 kB / 490.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1591, allocations: 48 / 490.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1591, allocations: 7.984 kB / 490.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1591, allocations: 0 / 490.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1591, allocations: 0 / 490.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.1593, allocations: 220.1 kB / 490.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.1594, allocations: 104.8 kB / 490.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.1595, allocations: 15.94 kB / 490.5 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1597, allocations: 7.984 kB / 490.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.1597, allocations: 11.98 kB / 490.5 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1597, allocations: 4 kB / 490.5 MB, free: 7.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1599, allocations: 152.5 kB / 490.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1599, allocations: 0 / 490.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004845/0.1604, allocations: 92 kB / 490.8 MB, free: 7.449 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003891/0.1608, allocations: 171.5 kB / 490.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.1611, allocations: 185.9 kB / 491.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1611, allocations: 8.062 kB / 491.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/0.1612, allocations: 39.98 kB / 491.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1616, allocations: 48.33 kB / 491.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/0.1626, allocations: 0.572 MB / 491.8 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1629, allocations: 0.7323 MB / 492.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.1632, allocations: 58.86 kB / 492.6 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.1632, allocations: 31.44 kB / 492.6 MB, free: 5.547 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1632, allocations: 4 kB / 492.6 MB, free: 5.543 MB / 366.1 MB Notification: Performance of Templates: time 0.007272/0.1705, allocations: 3.385 MB / 496 MB, free: 2.195 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches