Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 107.1 kB / 16.41 MB, free: 6.488 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.001444/0.001445, allocations: 189.5 kB / 17.34 MB, free: 5.734 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.593/1.593, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2509/0.2509, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.00152/0.00152, allocations: 69.45 kB / 441.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1514, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006388/0.1579, allocations: 4.549 MB / 0.4924 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005054/0.163, allocations: 4.022 MB / 0.4963 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1631, allocations: 0 / 0.4963 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.1635, allocations: 47.67 kB / 0.4963 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.1663, allocations: 0.7266 MB / 0.497 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1667, allocations: 135.8 kB / 0.4972 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006532/0.1674, allocations: 378.1 kB / 0.4975 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.1674, allocations: 13.69 kB / 0.4975 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1676, allocations: 143.5 kB / 0.4977 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1679, allocations: 147.4 kB / 0.4978 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.1679, allocations: 8 kB / 0.4978 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.169, allocations: 419.5 kB / 0.4982 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.1691, allocations: 43.83 kB / 0.4983 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1693, allocations: 111.5 kB / 0.4984 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007542/0.17, allocations: 470.8 kB / 0.4988 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.17, allocations: 0 / 0.4988 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.17, allocations: 3.938 kB / 0.4988 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.1701, allocations: 0 / 0.4988 GB, free: 0.5273 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.001301/0.1714, allocations: 0.5931 MB / 0.4994 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.1714, allocations: 15.83 kB / 0.4994 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.1716, allocations: 32.64 kB / 0.4995 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.172, allocations: 224.1 kB / 0.4997 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.1722, allocations: 123.9 kB / 0.4998 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.1722, allocations: 24.31 kB / 0.4998 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.1728, allocations: 331.6 kB / 0.5001 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1728, allocations: 3.938 kB / 0.5001 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.1728, allocations: 8 kB / 0.5001 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.1729, allocations: 8 kB / 0.5002 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008055/0.1737, allocations: 0.7352 MB / 0.5009 GB, free: 14.3 MB / 398.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.001435/0.1751, allocations: 1.304 MB / 0.5021 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.1755, allocations: 171.6 kB / 0.5023 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.1757, allocations: 89.42 kB / 0.5024 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002657/0.1783, allocations: 2.81 MB / 0.5051 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.1784, allocations: 34.56 kB / 0.5052 GB, free: 9.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.1784, allocations: 0 / 0.5052 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000353/0.1788, allocations: 125.3 kB / 0.5053 GB, free: 9.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1788, allocations: 51.41 kB / 0.5053 GB, free: 9.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1791, allocations: 223.8 kB / 0.5055 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.1791, allocations: 25.7 kB / 0.5056 GB, free: 8.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1792, allocations: 222.6 kB / 0.5058 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.1793, allocations: 43.44 kB / 0.5058 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1794, allocations: 89.98 kB / 0.5059 GB, free: 8.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1796, allocations: 326.8 kB / 0.5062 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.1797, allocations: 48.84 kB / 0.5063 GB, free: 8.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.18, allocations: 339.2 kB / 0.5066 GB, free: 7.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.1805, allocations: 452.5 kB / 0.507 GB, free: 6.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1805, allocations: 0 / 0.507 GB, free: 6.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005598/0.181, allocations: 384.8 kB / 0.5074 GB, free: 6.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1811, allocations: 8.938 kB / 0.5074 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.1811, allocations: 12 kB / 0.5074 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/0.1811, allocations: 15.94 kB / 0.5074 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1814, allocations: 103.8 kB / 0.5075 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.1814, allocations: 15.94 kB / 0.5075 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.1817, allocations: 51.53 kB / 0.5076 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.1817, allocations: 32.03 kB / 0.5076 GB, free: 6.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001404/0.1818, allocations: 153.5 kB / 0.5078 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.1819, allocations: 23.8 kB / 0.5078 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.1822, allocations: 144.5 kB / 0.5079 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.1822, allocations: 3.938 kB / 0.5079 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1823, allocations: 4 kB / 0.5079 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1823, allocations: 0 / 0.5079 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.1827, allocations: 408.8 kB / 0.5083 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1827, allocations: 4 kB / 0.5083 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.1828, allocations: 15.92 kB / 0.5083 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.1828, allocations: 4 kB / 0.5084 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1828, allocations: 7.938 kB / 0.5084 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.1828, allocations: 4 kB / 0.5084 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1828, allocations: 0 / 0.5084 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.183, allocations: 205.8 kB / 0.5086 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.1831, allocations: 96.91 kB / 0.5087 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.1832, allocations: 4 kB / 0.5087 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1833, allocations: 7.984 kB / 0.5087 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.1834, allocations: 4 kB / 0.5087 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1834, allocations: 8 kB / 0.5087 GB, free: 5.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1835, allocations: 156.5 kB / 0.5088 GB, free: 4.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1835, allocations: 0 / 0.5088 GB, free: 4.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005183/0.1841, allocations: 99.83 kB / 0.5089 GB, free: 4.895 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0003733/0.1844, allocations: 159.2 kB / 0.5091 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.1848, allocations: 169.9 kB / 0.5092 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1848, allocations: 4 kB / 0.5092 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.1849, allocations: 20.48 kB / 0.5093 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.1853, allocations: 48.72 kB / 0.5093 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1866, allocations: 0.527 MB / 0.5098 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.187, allocations: 0.7245 MB / 0.5105 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1872, allocations: 54.92 kB / 0.5106 GB, free: 3.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.1873, allocations: 23.44 kB / 0.5106 GB, free: 3.105 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1873, allocations: 0 / 0.5106 GB, free: 3.105 MB / 398.1 MB Notification: Performance of Templates: time 0.008244/0.1956, allocations: 3.128 MB / 0.5137 GB, free: 15.99 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches