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.001558/0.001558, allocations: 102.5 kB / 16.27 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.001849/0.001848, 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.635/1.635, 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.2232/0.2232, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.00175/0.00175, allocations: 73.06 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1479, allocations: 57.78 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006738/0.1547, allocations: 4.53 MB / 445 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0049/0.1596, allocations: 4.017 MB / 449.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.1599, allocations: 0 / 449.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.1604, allocations: 55.61 kB / 449.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.163, allocations: 0.7265 MB / 449.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1634, allocations: 131.4 kB / 450 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007841/0.1642, allocations: 366.1 kB / 450.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.1643, allocations: 17.67 kB / 450.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.1646, allocations: 135.5 kB / 450.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.165, allocations: 155.4 kB / 450.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/0.1651, allocations: 12 kB / 450.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.1664, allocations: 419.5 kB / 451.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1666, allocations: 43.81 kB / 451.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.1668, allocations: 107.5 kB / 451.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.1681, allocations: 475 kB / 451.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1681, allocations: 0 / 451.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1681, allocations: 0 / 451.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.1681, allocations: 0 / 451.7 MB, free: 11.7 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.001483/0.1696, allocations: 0.5931 MB / 452.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.1697, allocations: 15.89 kB / 452.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.1699, allocations: 32.58 kB / 452.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1702, allocations: 224.1 kB / 452.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.1704, allocations: 123.9 kB / 452.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.1704, allocations: 24.38 kB / 452.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.1711, allocations: 331.6 kB / 453 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1711, allocations: 0 / 453 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.1711, allocations: 16 kB / 453 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.1712, allocations: 4 kB / 453 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.172, allocations: 0.7391 MB / 453.7 MB, free: 9.477 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.001784/0.1738, allocations: 1.3 MB / 455 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.1743, allocations: 174.9 kB / 455.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1744, allocations: 89.41 kB / 455.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002769/0.1772, allocations: 2.813 MB / 458.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.896e-05/0.1773, allocations: 42.5 kB / 458.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.1773, allocations: 0 / 458.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003427/0.1776, allocations: 113.4 kB / 458.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1777, allocations: 59.41 kB / 458.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1779, allocations: 219.8 kB / 458.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.178, allocations: 29.7 kB / 458.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1782, allocations: 214.6 kB / 458.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.1782, allocations: 47.39 kB / 458.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1783, allocations: 82.03 kB / 458.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1785, allocations: 330.8 kB / 459.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1786, allocations: 48.84 kB / 459.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.1789, allocations: 355.2 kB / 459.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.1794, allocations: 436.6 kB / 460.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.1794, allocations: 4 kB / 460.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000611/0.18, allocations: 385.3 kB / 460.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.18, allocations: 11.98 kB / 460.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.1801, allocations: 12 kB / 460.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.1801, allocations: 15.94 kB / 460.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.1804, allocations: 91.84 kB / 460.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/0.1804, allocations: 27.86 kB / 460.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.1807, allocations: 51.97 kB / 460.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.1807, allocations: 32 kB / 460.7 MB, free: 1.531 MB / 334.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.0001339/0.1809, allocations: 149.6 kB / 460.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.1809, allocations: 23.72 kB / 460.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1812, allocations: 140.6 kB / 461 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.1812, allocations: 3.938 kB / 461 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1812, allocations: 0 / 461 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1812, allocations: 3.984 kB / 461 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.1818, allocations: 416.7 kB / 461.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1818, allocations: 4.094 kB / 461.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.1819, allocations: 12 kB / 461.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1819, allocations: 0 / 461.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1819, allocations: 4 kB / 461.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1819, allocations: 0 / 461.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1819, allocations: 4 kB / 461.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.1821, allocations: 213.9 kB / 461.6 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.1822, allocations: 96.91 kB / 461.7 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.1822, allocations: 4 kB / 461.7 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.1824, allocations: 4 kB / 461.7 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.1824, allocations: 8.047 kB / 461.7 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1825, allocations: 11.94 kB / 461.7 MB, free: 336 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1826, allocations: 156.5 kB / 461.9 MB, free: 180 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.1826, allocations: 4 kB / 461.9 MB, free: 176 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.1831, allocations: 103.8 kB / 462 MB, free: 72 kB / 334.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.0004736/0.1836, allocations: 151.6 kB / 462.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.184, allocations: 172.9 kB / 462.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.184, allocations: 0 / 462.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.184, allocations: 29.48 kB / 462.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.1845, allocations: 53.55 kB / 462.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1857, allocations: 0.5347 MB / 462.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1861, allocations: 0.7245 MB / 463.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.1864, allocations: 54.92 kB / 463.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.1864, allocations: 27.44 kB / 463.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1864, allocations: 0 / 463.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Templates: time 0.008683/0.1951, allocations: 3.099 MB / 466.8 MB, free: 11.19 MB / 350.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