Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001978/0.001978, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002757/0.002757, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.43/2.43, allocations: 227.4 MB / 247 MB, free: 8.902 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3626/0.3626, allocations: 46.1 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002595, allocations: 78.03 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2315, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.526/0.7576, allocations: 46.49 MB / 0.5141 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.766, allocations: 4.549 MB / 0.5185 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.7677, allocations: 25.34 kB / 0.5186 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.7694, allocations: 272.3 kB / 0.5188 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.7739, allocations: 0.8069 MB / 0.5196 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.7782, allocations: 0.7987 MB / 0.5204 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006442/0.7847, allocations: 2.675 MB / 0.523 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.7861, allocations: 408.4 kB / 0.5234 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.162/0.9481, allocations: 43.39 MB / 0.5658 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02966/0.9778, allocations: 7.976 MB / 0.5736 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004782/0.9784, allocations: 32 kB / 0.5736 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03964/1.018, allocations: 10.64 MB / 0.584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009566/1.019, allocations: 241 kB / 0.5842 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/1.021, allocations: 364.3 kB / 0.5846 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002366/1.023, allocations: 0.8056 MB / 0.5853 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.023, allocations: 0 / 0.5853 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/1.023, allocations: 0 / 0.5853 GB, free: 8.699 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.944e-05/1.023, allocations: 0 / 0.5853 GB, free: 8.699 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004551/1.028, allocations: 1.048 MB / 0.5864 GB, free: 7.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/1.028, allocations: 12.03 kB / 0.5864 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007835/1.029, allocations: 91.98 kB / 0.5865 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.03, allocations: 0.5036 MB / 0.587 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/1.03, allocations: 98.45 kB / 0.5871 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/1.031, allocations: 50.09 kB / 0.5871 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/1.033, allocations: 0.8345 MB / 0.5879 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/1.033, allocations: 7.984 kB / 0.5879 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/1.033, allocations: 23.2 kB / 0.5879 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/1.034, allocations: 40.92 kB / 0.588 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/1.036, allocations: 0.64 MB / 0.5886 GB, free: 5.215 MB / 430.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.009364/1.045, allocations: 4.219 MB / 0.5927 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/1.047, allocations: 415.9 kB / 0.5931 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006349/1.047, allocations: 205.4 kB / 0.5933 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008438/1.048, allocations: 0.5016 MB / 0.5938 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/1.048, allocations: 42.89 kB / 0.5939 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 4.458e-06/1.048, allocations: 0 / 0.5939 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.006216/1.055, allocations: 1.513 MB / 0.5953 GB, free: 13.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/1.055, allocations: 136.5 kB / 0.5955 GB, free: 13.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.056, allocations: 0.5691 MB / 0.596 GB, free: 13.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.668e-05/1.056, allocations: 37.7 kB / 0.5961 GB, free: 13.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/1.057, allocations: 349.5 kB / 0.5964 GB, free: 12.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/1.057, allocations: 168.5 kB / 0.5965 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/1.057, allocations: 130.6 kB / 0.5967 GB, free: 12.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002662/1.057, allocations: 382.7 kB / 0.597 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006991/1.058, allocations: 231.7 kB / 0.5973 GB, free: 11.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/1.059, allocations: 0.5162 MB / 0.5978 GB, free: 11.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/1.061, allocations: 0.7796 MB / 0.5985 GB, free: 10.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.061, allocations: 4 kB / 0.5985 GB, free: 10.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003493/1.065, allocations: 0.9412 MB / 0.5994 GB, free: 9.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/1.065, allocations: 12.25 kB / 0.5995 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/1.065, allocations: 8 kB / 0.5995 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/1.067, allocations: 267.4 kB / 0.5997 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008802/1.068, allocations: 131.8 kB / 0.5998 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/1.069, allocations: 0.8627 MB / 0.6007 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.071, allocations: 51.84 kB / 0.6007 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.071, allocations: 32 kB / 0.6008 GB, free: 7.953 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005883/1.071, allocations: 245.7 kB / 0.601 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/1.071, allocations: 67.16 kB / 0.6011 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/1.074, allocations: 0.7189 MB / 0.6018 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/1.074, allocations: 4 kB / 0.6018 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.074, allocations: 0 / 0.6018 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.074, allocations: 7.984 kB / 0.6018 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/1.077, allocations: 1.401 MB / 0.6031 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.077, allocations: 3.938 kB / 0.6032 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.079, allocations: 195.9 kB / 0.6033 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003657/1.079, allocations: 60.78 kB / 0.6034 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/1.079, allocations: 8 kB / 0.6034 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/1.083, allocations: 2.785 MB / 0.6061 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/1.083, allocations: 7.875 kB / 0.6061 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/1.085, allocations: 0.9956 MB / 0.6071 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/1.085, allocations: 204.2 kB / 0.6073 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.086, allocations: 8 kB / 0.6073 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/1.086, allocations: 35.95 kB / 0.6073 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.087, allocations: 31.95 kB / 0.6074 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/1.087, allocations: 19.98 kB / 0.6074 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008705/1.087, allocations: 427 kB / 0.6078 GB, free: 344 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.224e-06/1.088, allocations: 0 / 0.6078 GB, free: 344 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.00147/1.089, allocations: 215.9 kB / 0.608 GB, free: 128 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007952/1.09, allocations: 232.2 kB / 0.6082 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/1.092, allocations: 0.6008 MB / 0.6088 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.092, allocations: 4 kB / 0.6088 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/1.094, allocations: 474.7 kB / 0.6093 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.097, allocations: 353.6 kB / 0.6096 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/1.102, allocations: 1.67 MB / 0.6112 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/1.102, allocations: 0.9385 MB / 0.6122 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.103, allocations: 67.42 kB / 0.6122 GB, free: 11.73 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/1.103, allocations: 0 / 0.6122 GB, free: 11.73 MB / 462.1 MB Notification: Performance of Templates: time 0.03629/1.139, allocations: 15.54 MB / 0.6274 GB, free: 12.29 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p