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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 81.78 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 159.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 75.88 kB / 443.2 MB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3284, allocations: 66.06 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02165/0.3501, allocations: 18.68 MB / 0.5155 GB, free: 17.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007443/0.3575, allocations: 3.995 MB / 0.5194 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.3581, allocations: 27.34 kB / 0.5195 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.3592, allocations: 311.5 kB / 0.5198 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.3616, allocations: 0.8827 MB / 0.5206 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.3647, allocations: 0.9147 MB / 0.5215 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002731/0.3675, allocations: 1.811 MB / 0.5233 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007638/0.3682, allocations: 396.5 kB / 0.5237 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.3705, allocations: 0.9738 MB / 0.5246 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.3719, allocations: 0.6552 MB / 0.5253 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.3721, allocations: 60.5 kB / 0.5253 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.3732, allocations: 280.1 kB / 0.5256 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.3736, allocations: 269.8 kB / 0.5258 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005446/0.3741, allocations: 332.6 kB / 0.5261 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.376, allocations: 1.085 MB / 0.5272 GB, free: 11.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3761, allocations: 0 / 0.5272 GB, free: 11.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3761, allocations: 1.156 kB / 0.5272 GB, free: 11.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3761, allocations: 0.5625 kB / 0.5272 GB, free: 11.1 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002744/0.3788, allocations: 0.9872 MB / 0.5282 GB, free: 10.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3789, allocations: 9.5 kB / 0.5282 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000498/0.3794, allocations: 94.77 kB / 0.5283 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009119/0.3803, allocations: 478.2 kB / 0.5287 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.3804, allocations: 160.1 kB / 0.5289 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.3805, allocations: 53.27 kB / 0.5289 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3818, allocations: 1.073 MB / 0.53 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.3818, allocations: 1.156 kB / 0.53 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.257e-05/0.3819, allocations: 24.06 kB / 0.53 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-05/0.382, allocations: 42.17 kB / 0.53 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.3831, allocations: 0.6468 MB / 0.5307 GB, free: 8.93 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.004155/0.3872, allocations: 3.327 MB / 0.5339 GB, free: 6.434 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.3881, allocations: 397.6 kB / 0.5343 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.3885, allocations: 193.5 kB / 0.5345 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.3887, allocations: 50.61 kB / 0.5345 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3888, allocations: 38.39 kB / 0.5346 GB, free: 6.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.3888, allocations: 0.9688 kB / 0.5346 GB, free: 6.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.0032/0.392, allocations: 1.461 MB / 0.536 GB, free: 5.402 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.392, allocations: 134.8 kB / 0.5361 GB, free: 5.246 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/0.3927, allocations: 0.5114 MB / 0.5366 GB, free: 5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.3928, allocations: 35.86 kB / 0.5367 GB, free: 4.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.3931, allocations: 369.5 kB / 0.537 GB, free: 4.664 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.3932, allocations: 171.6 kB / 0.5372 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.3934, allocations: 145.9 kB / 0.5373 GB, free: 4.453 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.3935, allocations: 367.5 kB / 0.5377 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.3939, allocations: 223.2 kB / 0.5379 GB, free: 4.039 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.3944, allocations: 0.5945 MB / 0.5385 GB, free: 3.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.3955, allocations: 0.7824 MB / 0.5392 GB, free: 2.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.3955, allocations: 3.594 kB / 0.5392 GB, free: 2.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001819/0.3973, allocations: 0.9321 MB / 0.5401 GB, free: 2.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3974, allocations: 14.22 kB / 0.5402 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3974, allocations: 13.19 kB / 0.5402 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.3985, allocations: 273.9 kB / 0.5404 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.3989, allocations: 121.4 kB / 0.5405 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008031/0.3997, allocations: 0.8669 MB / 0.5414 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.4002, allocations: 28.72 kB / 0.5414 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.4003, allocations: 36.91 kB / 0.5415 GB, free: 1.723 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.0003181/0.4006, allocations: 241.8 kB / 0.5417 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.4008, allocations: 61.88 kB / 0.5417 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.4021, allocations: 0.7126 MB / 0.5424 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.4021, allocations: 4.641 kB / 0.5424 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.4021, allocations: 5.25 kB / 0.5424 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.4021, allocations: 6.844 kB / 0.5425 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.4042, allocations: 1.233 MB / 0.5437 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4042, allocations: 1.406 kB / 0.5437 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009746/0.4052, allocations: 198.2 kB / 0.5438 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002469/0.4054, allocations: 53.83 kB / 0.5439 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.4055, allocations: 20.16 kB / 0.5439 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.4081, allocations: 2.735 MB / 0.5466 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4081, allocations: 2.438 kB / 0.5466 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.4099, allocations: 0.9993 MB / 0.5476 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/0.4102, allocations: 113.8 kB / 0.5477 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.4103, allocations: 14.31 kB / 0.5477 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.4107, allocations: 11.59 kB / 0.5477 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4108, allocations: 45.16 kB / 0.5477 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.4109, allocations: 21.08 kB / 0.5478 GB, free: 13.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004727/0.4113, allocations: 347.2 kB / 0.5481 GB, free: 12.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4113, allocations: 0 / 0.5481 GB, free: 12.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009186/0.4123, allocations: 207.6 kB / 0.5483 GB, free: 12.95 MB / 462.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.0004559/0.4127, allocations: 222.3 kB / 0.5485 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.4141, allocations: 0.591 MB / 0.5491 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4141, allocations: 1.188 kB / 0.5491 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.4153, allocations: 476 kB / 0.5495 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.4169, allocations: 322.2 kB / 0.5498 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.4195, allocations: 1.408 MB / 0.5512 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.4199, allocations: 345.1 kB / 0.5516 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006801/0.4206, allocations: 195.7 kB / 0.5517 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.4208, allocations: 55.27 kB / 0.5518 GB, free: 10.86 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4208, allocations: 0 / 0.5518 GB, free: 10.86 MB / 462.1 MB Notification: Performance of Templates: time 0.02632/0.4471, allocations: 13.91 MB / 0.5654 GB, free: 14.91 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.441636420087889]