Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001633, allocations: 118.8 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 202 kB / 18.72 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 79.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4808, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03472/0.5156, allocations: 26.93 MB / 0.5573 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003954/0.5196, allocations: 2.955 MB / 0.5602 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.5198, allocations: 7.938 kB / 0.5602 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.5202, allocations: 47.67 kB / 0.5602 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.5224, allocations: 0.7265 MB / 0.561 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.5227, allocations: 131.2 kB / 0.5611 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.5233, allocations: 378.1 kB / 0.5614 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.5234, allocations: 13.67 kB / 0.5615 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03983/0.5632, allocations: 15.5 MB / 0.5766 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.5637, allocations: 139.5 kB / 0.5767 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.5638, allocations: 15.94 kB / 0.5767 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008522/0.5723, allocations: 3.44 MB / 0.5801 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.5725, allocations: 47.81 kB / 0.5801 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.5727, allocations: 107.5 kB / 0.5802 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.5738, allocations: 470.8 kB / 0.5807 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.5738, allocations: 3.984 kB / 0.5807 GB, free: 14.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5738, allocations: 0 / 0.5807 GB, free: 14.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.5738, allocations: 0 / 0.5807 GB, free: 14.56 MB / 446.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.001358/0.5752, allocations: 0.5992 MB / 0.5813 GB, free: 13.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.5752, allocations: 8.031 kB / 0.5813 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.5754, allocations: 28.66 kB / 0.5813 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.576, allocations: 228 kB / 0.5815 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.5761, allocations: 123.9 kB / 0.5817 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.5762, allocations: 24.12 kB / 0.5817 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005593/0.5767, allocations: 323.6 kB / 0.582 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.5767, allocations: 4 kB / 0.582 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.5768, allocations: 8 kB / 0.582 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.5768, allocations: 11.98 kB / 0.582 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008299/0.5776, allocations: 0.7352 MB / 0.5827 GB, free: 12.35 MB / 446.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.001485/0.5791, allocations: 1.3 MB / 0.584 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.5795, allocations: 171.7 kB / 0.5842 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.5797, allocations: 81.48 kB / 0.5842 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002721/0.5824, allocations: 2.817 MB / 0.587 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5824, allocations: 38.56 kB / 0.587 GB, free: 7.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.903e-06/0.5824, allocations: 0 / 0.587 GB, free: 7.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003412/0.5828, allocations: 117.4 kB / 0.5871 GB, free: 7.156 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.5828, allocations: 51.41 kB / 0.5872 GB, free: 7.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.5831, allocations: 220.1 kB / 0.5874 GB, free: 6.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5831, allocations: 25.7 kB / 0.5874 GB, free: 6.836 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.5833, allocations: 222.6 kB / 0.5876 GB, free: 6.613 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.5833, allocations: 43.39 kB / 0.5877 GB, free: 6.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.5835, allocations: 90.02 kB / 0.5878 GB, free: 6.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5836, allocations: 326.8 kB / 0.5881 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.5838, allocations: 52.77 kB / 0.5881 GB, free: 6.098 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.5841, allocations: 347.2 kB / 0.5885 GB, free: 5.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.5846, allocations: 440.6 kB / 0.5889 GB, free: 5.031 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5846, allocations: 4 kB / 0.5889 GB, free: 5.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005607/0.5851, allocations: 381.7 kB / 0.5892 GB, free: 4.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.5852, allocations: 8 kB / 0.5893 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.5852, allocations: 12.09 kB / 0.5893 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.5852, allocations: 23.94 kB / 0.5893 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.5855, allocations: 103.8 kB / 0.5894 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.5855, allocations: 19.92 kB / 0.5894 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.5857, allocations: 47.53 kB / 0.5894 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.5858, allocations: 28 kB / 0.5895 GB, free: 4.41 MB / 446.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.0001385/0.5859, allocations: 149.6 kB / 0.5896 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.586, allocations: 15.81 kB / 0.5896 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.5862, allocations: 152.8 kB / 0.5898 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5863, allocations: 4 kB / 0.5898 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5863, allocations: 0 / 0.5898 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5863, allocations: 0 / 0.5898 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.5868, allocations: 420.8 kB / 0.5902 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5868, allocations: 0 / 0.5902 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.5869, allocations: 12 kB / 0.5902 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5869, allocations: 0 / 0.5902 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.5869, allocations: 0 / 0.5902 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5869, allocations: 4 kB / 0.5902 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5869, allocations: 0 / 0.5902 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.5871, allocations: 213.8 kB / 0.5904 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.5872, allocations: 96.91 kB / 0.5905 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.5872, allocations: 12.06 kB / 0.5905 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.5874, allocations: 0 / 0.5905 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.5874, allocations: 15.92 kB / 0.5905 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.5874, allocations: 8 kB / 0.5905 GB, free: 3.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.5876, allocations: 152.7 kB / 0.5907 GB, free: 3.055 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.5876, allocations: 0 / 0.5907 GB, free: 3.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005231/0.5881, allocations: 107.7 kB / 0.5908 GB, free: 2.949 MB / 446.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.0003003/0.5884, allocations: 151.2 kB / 0.5909 GB, free: 2.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.5887, allocations: 178.2 kB / 0.5911 GB, free: 2.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5887, allocations: 4 kB / 0.5911 GB, free: 2.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.5888, allocations: 19.94 kB / 0.5911 GB, free: 2.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.5892, allocations: 40.72 kB / 0.5912 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.5902, allocations: 0.5385 MB / 0.5917 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.5906, allocations: 0.7206 MB / 0.5924 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002933/0.5909, allocations: 58.89 kB / 0.5924 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.591, allocations: 27.44 kB / 0.5925 GB, free: 1.152 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.591, allocations: 0 / 0.5925 GB, free: 1.152 MB / 446.1 MB Notification: Performance of Templates: time 0.007334/0.5983, allocations: 3.174 MB / 0.5956 GB, free: 14 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches