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.001627/0.001627, allocations: 100.1 kB / 16.26 MB, free: 5.93 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.001841/0.001841, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.559/1.559, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3102/0.3102, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.00148/0.00148, allocations: 66.61 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1248, allocations: 57.8 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005759/0.1306, allocations: 4.953 MB / 445.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.1349, allocations: 4.563 MB / 450 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.135, allocations: 0 / 450 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1353, allocations: 59.59 kB / 450.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.1373, allocations: 0.6565 MB / 450.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1377, allocations: 159.5 kB / 450.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.1382, allocations: 370.1 kB / 451.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.72e-05/0.1382, allocations: 21.66 kB / 451.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.1385, allocations: 151.5 kB / 451.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1387, allocations: 127.5 kB / 451.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.1387, allocations: 11.94 kB / 451.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00077/0.1395, allocations: 327.7 kB / 451.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.289e-05/0.1396, allocations: 47.81 kB / 451.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1398, allocations: 107.5 kB / 452 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.1404, allocations: 415.2 kB / 452.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1404, allocations: 0 / 452.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1405, allocations: 0 / 452.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1405, allocations: 0 / 452.4 MB, free: 10.91 MB / 334.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.001202/0.1417, allocations: 0.5853 MB / 453 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1417, allocations: 15.88 kB / 453 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.1419, allocations: 24.75 kB / 453.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.1423, allocations: 224.1 kB / 453.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.1425, allocations: 123.9 kB / 453.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.1425, allocations: 24.38 kB / 453.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.1431, allocations: 331.6 kB / 453.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1431, allocations: 0 / 453.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.1432, allocations: 8 kB / 453.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.1432, allocations: 7.938 kB / 453.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/0.1441, allocations: 0.7468 MB / 454.5 MB, free: 8.699 MB / 334.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.001615/0.1457, allocations: 1.249 MB / 455.8 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.1461, allocations: 153.9 kB / 455.9 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1462, allocations: 80.58 kB / 456 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/0.1487, allocations: 2.663 MB / 458.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.1488, allocations: 38.56 kB / 458.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1488, allocations: 4 kB / 458.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006809/0.1495, allocations: 212.9 kB / 458.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1495, allocations: 59.34 kB / 459 MB, free: 3.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1497, allocations: 211.9 kB / 459.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1497, allocations: 29.7 kB / 459.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1499, allocations: 206.8 kB / 459.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.15, allocations: 55.28 kB / 459.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.1501, allocations: 85.94 kB / 459.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1502, allocations: 330.8 kB / 459.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.1503, allocations: 56.83 kB / 459.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.1506, allocations: 318.1 kB / 460.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.151, allocations: 421.2 kB / 460.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.151, allocations: 4 kB / 460.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005331/0.1515, allocations: 372.9 kB / 461 MB, free: 1.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1516, allocations: 8 kB / 461 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.1516, allocations: 12.81 kB / 461 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.1516, allocations: 16 kB / 461.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.152, allocations: 115.8 kB / 461.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.152, allocations: 15.94 kB / 461.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.1522, allocations: 20 kB / 461.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.1523, allocations: 23.98 kB / 461.2 MB, free: 1.027 MB / 334.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.0001315/0.1524, allocations: 153.6 kB / 461.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.1525, allocations: 15.81 kB / 461.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.1528, allocations: 154.9 kB / 461.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.1528, allocations: 7.938 kB / 461.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1528, allocations: 0 / 461.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1528, allocations: 0 / 461.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.1533, allocations: 439 kB / 462 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1534, allocations: 4 kB / 462 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1535, allocations: 35.92 kB / 462 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1535, allocations: 3.984 kB / 462 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1536, allocations: 0 / 462 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1536, allocations: 4 kB / 462 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1536, allocations: 64 / 462 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1538, allocations: 232 kB / 462.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.1539, allocations: 104.8 kB / 462.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.1539, allocations: 7.984 kB / 462.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1541, allocations: 11.97 kB / 462.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.1542, allocations: 15.98 kB / 462.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1542, allocations: 8 kB / 462.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1543, allocations: 152.5 kB / 462.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1543, allocations: 0 / 462.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000478/0.1548, allocations: 92 kB / 462.6 MB, free: 15.51 MB / 350.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.0004563/0.1553, allocations: 167.1 kB / 462.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.1556, allocations: 181.2 kB / 463 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1556, allocations: 0 / 463 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.1557, allocations: 39.92 kB / 463 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.1562, allocations: 54.53 kB / 463.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1573, allocations: 0.4977 MB / 463.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1578, allocations: 0.7284 MB / 464.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002859/0.158, allocations: 62.92 kB / 464.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.1581, allocations: 27.42 kB / 464.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1581, allocations: 0 / 464.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Templates: time 0.008061/0.1662, allocations: 3.41 MB / 467.8 MB, free: 10.31 MB / 350.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches