Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001213, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.388/2.388, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5493/0.5493, allocations: 46.11 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 77.19 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2438, allocations: 62.44 MB / 480.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0375/0.2814, allocations: 20.86 MB / 0.4893 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.2942, allocations: 4.369 MB / 0.4935 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.2966, allocations: 31.75 kB / 0.4936 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.2988, allocations: 278.5 kB / 0.4938 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.3035, allocations: 0.8087 MB / 0.4946 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004793/0.3083, allocations: 0.8218 MB / 0.4954 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004604/0.3129, allocations: 1.809 MB / 0.4972 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.315, allocations: 465.2 kB / 0.4976 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.3194, allocations: 0.9146 MB / 0.4985 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.322, allocations: 0.6734 MB / 0.4992 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004965/0.3226, allocations: 60 kB / 0.4993 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.3249, allocations: 311.5 kB / 0.4995 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.3259, allocations: 263.3 kB / 0.4998 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.3275, allocations: 394.2 kB / 0.5002 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.3302, allocations: 0.8108 MB / 0.501 GB, free: 4.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.3303, allocations: 3.938 kB / 0.501 GB, free: 4.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.3303, allocations: 4 kB / 0.501 GB, free: 4.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.998e-05/0.3304, allocations: 0 / 0.501 GB, free: 4.664 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.005955/0.3363, allocations: 1.056 MB / 0.502 GB, free: 3.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.891e-05/0.3364, allocations: 8.031 kB / 0.502 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.3373, allocations: 95.98 kB / 0.5021 GB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.3393, allocations: 0.4938 MB / 0.5026 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.3396, allocations: 101 kB / 0.5027 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.3398, allocations: 60.27 kB / 0.5027 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.3424, allocations: 0.8213 MB / 0.5035 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.3425, allocations: 0 / 0.5035 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.3427, allocations: 27.98 kB / 0.5036 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.3428, allocations: 40.98 kB / 0.5036 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.3448, allocations: 0.6438 MB / 0.5042 GB, free: 1.148 MB / 382.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.5253/0.8701, allocations: 4.21 MB / 0.5083 GB, free: 41.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.8717, allocations: 411.3 kB / 0.5087 GB, free: 41.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.8722, allocations: 211.4 kB / 0.5089 GB, free: 41.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/0.8727, allocations: 0.5013 MB / 0.5094 GB, free: 40.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.8727, allocations: 40.05 kB / 0.5095 GB, free: 40.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.386e-06/0.8727, allocations: 0 / 0.5095 GB, free: 40.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003938/0.8767, allocations: 1.523 MB / 0.511 GB, free: 39.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.8768, allocations: 136.8 kB / 0.5111 GB, free: 39.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009756/0.8777, allocations: 0.5712 MB / 0.5116 GB, free: 39.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.8778, allocations: 38.92 kB / 0.5117 GB, free: 39.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.8781, allocations: 354.4 kB / 0.512 GB, free: 39.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.8783, allocations: 160.6 kB / 0.5122 GB, free: 39.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.8785, allocations: 140.7 kB / 0.5123 GB, free: 39.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8787, allocations: 375.2 kB / 0.5127 GB, free: 38.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.8791, allocations: 223.2 kB / 0.5129 GB, free: 38.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.8798, allocations: 0.5157 MB / 0.5134 GB, free: 38.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.8809, allocations: 0.7823 MB / 0.5141 GB, free: 37.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.8809, allocations: 6.375 kB / 0.5142 GB, free: 37.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002445/0.8834, allocations: 0.9451 MB / 0.5151 GB, free: 37.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.8834, allocations: 9.516 kB / 0.5151 GB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.8835, allocations: 13.31 kB / 0.5151 GB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.8848, allocations: 261.5 kB / 0.5153 GB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.8853, allocations: 131.9 kB / 0.5155 GB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.8864, allocations: 0.8622 MB / 0.5163 GB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000764/0.8872, allocations: 46.94 kB / 0.5164 GB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.8873, allocations: 36.31 kB / 0.5164 GB, free: 36.45 MB / 382.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.000484/0.8878, allocations: 258.4 kB / 0.5166 GB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.888, allocations: 70.47 kB / 0.5167 GB, free: 36.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.8903, allocations: 0.7018 MB / 0.5174 GB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.8903, allocations: 8.375 kB / 0.5174 GB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.8903, allocations: 5.125 kB / 0.5174 GB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.8904, allocations: 6.516 kB / 0.5174 GB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.8934, allocations: 1.403 MB / 0.5188 GB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.8935, allocations: 3.125 kB / 0.5188 GB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.8948, allocations: 192 kB / 0.519 GB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/0.8952, allocations: 59.91 kB / 0.519 GB, free: 35.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.8953, allocations: 10.66 kB / 0.519 GB, free: 35.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003041/0.8983, allocations: 2.983 MB / 0.5219 GB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.8984, allocations: 8 kB / 0.522 GB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.901, allocations: 0.988 MB / 0.5229 GB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/0.9017, allocations: 203.6 kB / 0.5231 GB, free: 31.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.9019, allocations: 14.39 kB / 0.5231 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.9024, allocations: 36.94 kB / 0.5232 GB, free: 31.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.9026, allocations: 37.39 kB / 0.5232 GB, free: 31.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/0.9027, allocations: 23.89 kB / 0.5232 GB, free: 31.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008483/0.9035, allocations: 426.5 kB / 0.5236 GB, free: 31.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9035, allocations: 0.7812 kB / 0.5236 GB, free: 31.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001652/0.9052, allocations: 208.3 kB / 0.5238 GB, free: 31.19 MB / 382.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.0008225/0.906, allocations: 229.8 kB / 0.524 GB, free: 31.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002702/0.9088, allocations: 0.6725 MB / 0.5247 GB, free: 30.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.9088, allocations: 1.562 kB / 0.5247 GB, free: 30.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.9108, allocations: 474.3 kB / 0.5252 GB, free: 30.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/0.914, allocations: 370.7 kB / 0.5255 GB, free: 30.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.9183, allocations: 1.675 MB / 0.5271 GB, free: 29.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.9191, allocations: 0.9361 MB / 0.5281 GB, free: 28.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.9195, allocations: 63.03 kB / 0.5281 GB, free: 28.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.9195, allocations: 0 / 0.5281 GB, free: 28.79 MB / 382.1 MB Notification: Performance of Templates: time 0.03883/0.9583, allocations: 15.56 MB / 0.5433 GB, free: 17.87 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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