Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001547/0.001547, allocations: 109.3 kB / 17.21 MB, free: 6.289 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.001951/0.001951, allocations: 194 kB / 18.12 MB, free: 5.379 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.449/1.449, allocations: 222.9 MB / 241.8 MB, free: 15.47 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.2299/0.2299, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.03 kB / 407.7 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1528, allocations: 60.82 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006488/0.1593, allocations: 4.582 MB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.1636, allocations: 4.069 MB / 477.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1637, allocations: 4 kB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.164, allocations: 47.7 kB / 477.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.1661, allocations: 0.6647 MB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1665, allocations: 130 kB / 478 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.1671, allocations: 434.2 kB / 478.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.1672, allocations: 21.66 kB / 478.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.1674, allocations: 139.4 kB / 478.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.1676, allocations: 155.4 kB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.1677, allocations: 8 kB / 478.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1687, allocations: 435.3 kB / 479.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.1688, allocations: 47.75 kB / 479.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.169, allocations: 111.5 kB / 479.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008093/0.1698, allocations: 463.1 kB / 479.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1698, allocations: 0 / 479.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1698, allocations: 4 kB / 479.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1698, allocations: 0 / 479.8 MB, free: 3.562 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.001206/0.171, allocations: 0.6008 MB / 480.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1711, allocations: 8.031 kB / 480.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.1713, allocations: 32.75 kB / 480.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1715, allocations: 224 kB / 480.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.1717, allocations: 123.9 kB / 480.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1717, allocations: 28.31 kB / 480.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.1723, allocations: 323.6 kB / 481.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1723, allocations: 3.938 kB / 481.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.1723, allocations: 12 kB / 481.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.1724, allocations: 4 kB / 481.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007975/0.1732, allocations: 0.7391 MB / 481.9 MB, free: 1.34 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.001404/0.1746, allocations: 1.3 MB / 483.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1749, allocations: 171.7 kB / 483.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1751, allocations: 85.42 kB / 483.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002557/0.1776, allocations: 2.798 MB / 486.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1777, allocations: 38.55 kB / 486.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1777, allocations: 4 kB / 486.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003036/0.178, allocations: 121.2 kB / 486.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1781, allocations: 51.41 kB / 486.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1783, allocations: 223.9 kB / 486.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1783, allocations: 25.7 kB / 486.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1784, allocations: 218.6 kB / 486.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.1785, allocations: 59.3 kB / 486.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.1786, allocations: 77.95 kB / 487 MB, free: 11.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1788, allocations: 334.8 kB / 487.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1789, allocations: 48.84 kB / 487.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.1792, allocations: 339.2 kB / 487.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.1797, allocations: 448.5 kB / 488.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.1797, allocations: 4 kB / 488.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005944/0.1803, allocations: 381.1 kB / 488.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1803, allocations: 12 kB / 488.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.1804, allocations: 8 kB / 488.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.1804, allocations: 20.66 kB / 488.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1806, allocations: 95.83 kB / 488.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.1807, allocations: 23.94 kB / 488.7 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.1809, allocations: 51.44 kB / 488.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.1809, allocations: 31.98 kB / 488.8 MB, free: 9.406 MB / 366.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.0001377/0.1811, allocations: 153.5 kB / 488.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.1811, allocations: 19.81 kB / 488.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.1814, allocations: 144.5 kB / 489.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.1815, allocations: 7.922 kB / 489.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1815, allocations: 3.938 kB / 489.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1815, allocations: 0 / 489.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.1819, allocations: 412.9 kB / 489.5 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.182, allocations: 0 / 489.5 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.182, allocations: 19.92 kB / 489.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.182, allocations: 0 / 489.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1821, allocations: 4 kB / 489.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1821, allocations: 0 / 489.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1821, allocations: 4 kB / 489.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1823, allocations: 205.9 kB / 489.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.1824, allocations: 104.8 kB / 489.8 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1824, allocations: 0 / 489.8 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1825, allocations: 7.984 kB / 489.8 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.1826, allocations: 8 kB / 489.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1826, allocations: 8 kB / 489.9 MB, free: 8.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1827, allocations: 156.5 kB / 490 MB, free: 8.039 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1827, allocations: 0 / 490 MB, free: 8.039 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004835/0.1832, allocations: 91.92 kB / 490.1 MB, free: 7.949 MB / 366.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.0004123/0.1836, allocations: 159.8 kB / 490.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.184, allocations: 165.8 kB / 490.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.184, allocations: 0 / 490.4 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.03e-05/0.184, allocations: 28.61 kB / 490.4 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.1845, allocations: 52.91 kB / 490.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1856, allocations: 0.6066 MB / 491.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.186, allocations: 0.7248 MB / 491.8 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000229/0.1862, allocations: 54.92 kB / 491.9 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.1863, allocations: 27.42 kB / 491.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1863, allocations: 0 / 491.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of Templates: time 0.007086/0.1934, allocations: 3.013 MB / 494.9 MB, free: 3.086 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches