Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0009562/0.0009566, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 184.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3818/0.3818, allocations: 43.59 MB / 315 MB, free: 8.688 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005642/0.0005645, allocations: 12 kB / 384.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1491, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006799/0.156, allocations: 4.612 MB / 448.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006004/0.162, allocations: 4.509 MB / 452.6 MB, free: 3.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.1623, allocations: 0 / 452.6 MB, free: 3.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.1627, allocations: 43.73 kB / 452.6 MB, free: 3.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.165, allocations: 0.5985 MB / 453.2 MB, free: 2.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.1656, allocations: 147.7 kB / 453.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008989/0.1665, allocations: 446 kB / 453.8 MB, free: 2.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.1666, allocations: 13.69 kB / 453.8 MB, free: 2.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003601/0.1669, allocations: 155.3 kB / 453.9 MB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.1672, allocations: 135.4 kB / 454.1 MB, free: 1.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.1673, allocations: 4 kB / 454.1 MB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1684, allocations: 355.5 kB / 454.4 MB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.1685, allocations: 43.83 kB / 454.5 MB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.1687, allocations: 129.2 kB / 454.6 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009627/0.1697, allocations: 419.2 kB / 455 MB, free: 1.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1697, allocations: 0 / 455 MB, free: 1.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1697, allocations: 4 kB / 455 MB, free: 1.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1697, allocations: 0 / 455 MB, free: 1.055 MB / 382.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.001125/0.1708, allocations: 0.5306 MB / 455.5 MB, free: 488 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1709, allocations: 16.03 kB / 455.6 MB, free: 472 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.1711, allocations: 32.66 kB / 455.6 MB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1714, allocations: 224.1 kB / 455.8 MB, free: 176 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.1715, allocations: 123.9 kB / 455.9 MB, free: 28 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1715, allocations: 20.38 kB / 456 MB, free: 8 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2603/0.4319, allocations: 328.3 kB / 456.3 MB, free: 46.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.432, allocations: 0.5 kB / 456.3 MB, free: 46.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.432, allocations: 12.64 kB / 456.3 MB, free: 46.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.4321, allocations: 8.156 kB / 456.3 MB, free: 46.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.4328, allocations: 0.7354 MB / 457 MB, free: 46.97 MB / 382.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.001159/0.434, allocations: 1.253 MB / 458.3 MB, free: 46.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.4344, allocations: 148.3 kB / 458.4 MB, free: 46.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.4345, allocations: 79.88 kB / 458.5 MB, free: 46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/0.4361, allocations: 2.657 MB / 461.2 MB, free: 43.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.4361, allocations: 40.91 kB / 461.2 MB, free: 43.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.4362, allocations: 0 / 461.2 MB, free: 43.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006314/0.4368, allocations: 225.8 kB / 461.4 MB, free: 43.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4368, allocations: 54.28 kB / 461.5 MB, free: 43.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.437, allocations: 207.2 kB / 461.7 MB, free: 42.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.437, allocations: 30.45 kB / 461.7 MB, free: 42.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.4371, allocations: 213.7 kB / 461.9 MB, free: 42.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.4372, allocations: 53.28 kB / 462 MB, free: 42.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.4372, allocations: 39.17 kB / 462 MB, free: 42.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.4373, allocations: 328.4 kB / 462.3 MB, free: 42.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.4374, allocations: 50.73 kB / 462.4 MB, free: 42.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.4376, allocations: 317.9 kB / 462.7 MB, free: 42.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.4379, allocations: 427.3 kB / 463.1 MB, free: 41.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4379, allocations: 3 kB / 463.1 MB, free: 41.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005014/0.4384, allocations: 376.9 kB / 463.5 MB, free: 41.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4384, allocations: 8.906 kB / 463.5 MB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4385, allocations: 15.28 kB / 463.5 MB, free: 41.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.4385, allocations: 14.97 kB / 463.5 MB, free: 41.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.4388, allocations: 111.3 kB / 463.6 MB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.4389, allocations: 21.42 kB / 463.6 MB, free: 41.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.4391, allocations: 15.25 kB / 463.7 MB, free: 41.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.4391, allocations: 29.89 kB / 463.7 MB, free: 41.54 MB / 382.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.0001023/0.4392, allocations: 151.5 kB / 463.8 MB, free: 41.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.4393, allocations: 20.94 kB / 463.9 MB, free: 41.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.4396, allocations: 157.4 kB / 464 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.4396, allocations: 6.781 kB / 464 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4396, allocations: 0 / 464 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4396, allocations: 3.188 kB / 464 MB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.44, allocations: 433.5 kB / 464.4 MB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.44, allocations: 3.031 kB / 464.4 MB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.4402, allocations: 29.06 kB / 464.5 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4402, allocations: 3.547 kB / 464.5 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4402, allocations: 4.484 kB / 464.5 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4402, allocations: 10.25 kB / 464.5 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4402, allocations: 0 / 464.5 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.4404, allocations: 214 kB / 464.7 MB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.4405, allocations: 120.2 kB / 464.8 MB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.4405, allocations: 2.719 kB / 464.8 MB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.4407, allocations: 11.73 kB / 464.8 MB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.4407, allocations: 12.31 kB / 464.8 MB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.4408, allocations: 9.188 kB / 464.9 MB, free: 40.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.654e-05/0.4409, allocations: 151.7 kB / 465 MB, free: 40.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4409, allocations: 0 / 465 MB, free: 40.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.4413, allocations: 95.12 kB / 465.1 MB, free: 40.7 MB / 382.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.0003307/0.4417, allocations: 174.4 kB / 465.3 MB, free: 40.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.442, allocations: 187.4 kB / 465.4 MB, free: 40.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.442, allocations: 0 / 465.4 MB, free: 40.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.4421, allocations: 38.14 kB / 465.5 MB, free: 40.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.4425, allocations: 51.5 kB / 465.5 MB, free: 40.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.4435, allocations: 0.6072 MB / 466.1 MB, free: 40.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.4437, allocations: 0.7335 MB / 466.9 MB, free: 39.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002445/0.4439, allocations: 59.81 kB / 466.9 MB, free: 39.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.444, allocations: 27.78 kB / 467 MB, free: 39.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.444, allocations: 0 / 467 MB, free: 39.52 MB / 382.1 MB Notification: Performance of Templates: time 0.007302/0.4513, allocations: 3.305 MB / 470.3 MB, free: 39.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches