Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 166.8 kB / 24.5 MB, free: 3.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.684/1.684, allocations: 177.2 MB / 204.9 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2115/0.2115, allocations: 34.27 MB / 295.5 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.88 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.312, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01391/0.3259, allocations: 18.69 MB / 0.5155 GB, free: 17.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.331, allocations: 3.988 MB / 0.5194 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.3315, allocations: 28.34 kB / 0.5194 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007856/0.3323, allocations: 307.2 kB / 0.5197 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.3339, allocations: 0.8872 MB / 0.5206 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.3362, allocations: 0.9103 MB / 0.5215 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.3383, allocations: 1.813 MB / 0.5232 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.339, allocations: 396.7 kB / 0.5236 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.3408, allocations: 0.9608 MB / 0.5246 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009778/0.3418, allocations: 0.66 MB / 0.5252 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.3419, allocations: 63.88 kB / 0.5253 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.3427, allocations: 287 kB / 0.5255 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.3429, allocations: 266.7 kB / 0.5258 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.3433, allocations: 328.8 kB / 0.5261 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.3448, allocations: 1.085 MB / 0.5272 GB, free: 11.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3448, allocations: 0.5625 kB / 0.5272 GB, free: 11.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3448, allocations: 0 / 0.5272 GB, free: 11.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3448, allocations: 1.25 kB / 0.5272 GB, free: 11.15 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.002019/0.3468, allocations: 0.9909 MB / 0.5281 GB, free: 10.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3469, allocations: 9.594 kB / 0.5281 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.3472, allocations: 95.78 kB / 0.5282 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/0.348, allocations: 473.8 kB / 0.5287 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.3481, allocations: 156.1 kB / 0.5288 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/0.3482, allocations: 52.52 kB / 0.5289 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.3494, allocations: 1.069 MB / 0.5299 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.3494, allocations: 10.14 kB / 0.5299 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.3495, allocations: 27.11 kB / 0.53 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.3495, allocations: 38.78 kB / 0.53 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3506, allocations: 0.6431 MB / 0.5306 GB, free: 8.988 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.003799/0.3544, allocations: 3.323 MB / 0.5339 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.3552, allocations: 395.6 kB / 0.5342 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.3555, allocations: 198 kB / 0.5344 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/0.3557, allocations: 49.52 kB / 0.5345 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3558, allocations: 39.3 kB / 0.5345 GB, free: 6.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.3558, allocations: 0 / 0.5345 GB, free: 6.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.002972/0.3587, allocations: 1.466 MB / 0.536 GB, free: 5.457 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3588, allocations: 138.1 kB / 0.5361 GB, free: 5.297 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005957/0.3594, allocations: 0.5158 MB / 0.5366 GB, free: 5.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.3594, allocations: 31.95 kB / 0.5366 GB, free: 5.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.3596, allocations: 373 kB / 0.537 GB, free: 4.711 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.462e-05/0.3597, allocations: 172.5 kB / 0.5371 GB, free: 4.578 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.3599, allocations: 141.8 kB / 0.5373 GB, free: 4.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.36, allocations: 367.1 kB / 0.5376 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.3603, allocations: 223 kB / 0.5378 GB, free: 4.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.3608, allocations: 0.5956 MB / 0.5384 GB, free: 3.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/0.3617, allocations: 0.7853 MB / 0.5392 GB, free: 2.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.3617, allocations: 2.469 kB / 0.5392 GB, free: 2.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001662/0.3633, allocations: 0.9332 MB / 0.5401 GB, free: 2.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3634, allocations: 10.23 kB / 0.5401 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.3634, allocations: 13.56 kB / 0.5401 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.3644, allocations: 258.8 kB / 0.5404 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.3649, allocations: 125.8 kB / 0.5405 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008185/0.3657, allocations: 0.8738 MB / 0.5413 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.3662, allocations: 31.91 kB / 0.5414 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.3662, allocations: 34.14 kB / 0.5414 GB, free: 1.777 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.0003098/0.3665, allocations: 249.8 kB / 0.5416 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3666, allocations: 61.44 kB / 0.5417 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.368, allocations: 0.7105 MB / 0.5424 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.368, allocations: 9.125 kB / 0.5424 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.368, allocations: 1.125 kB / 0.5424 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.368, allocations: 3.703 kB / 0.5424 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.37, allocations: 1.239 MB / 0.5436 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.37, allocations: 1.438 kB / 0.5436 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000979/0.371, allocations: 191.8 kB / 0.5438 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002583/0.3712, allocations: 52.98 kB / 0.5439 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.3713, allocations: 19.98 kB / 0.5439 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.3736, allocations: 2.736 MB / 0.5465 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3736, allocations: 1.188 kB / 0.5465 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.3753, allocations: 0.9937 MB / 0.5475 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.3756, allocations: 116.3 kB / 0.5476 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.3757, allocations: 21.86 kB / 0.5476 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.3761, allocations: 15.56 kB / 0.5477 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3762, allocations: 43.5 kB / 0.5477 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.3762, allocations: 20.56 kB / 0.5477 GB, free: 13.24 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004598/0.3767, allocations: 347.9 kB / 0.5481 GB, free: 13.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3767, allocations: 4 kB / 0.5481 GB, free: 13.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009487/0.3776, allocations: 206.7 kB / 0.5483 GB, free: 13.05 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.0003821/0.378, allocations: 216.8 kB / 0.5485 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.3792, allocations: 0.5924 MB / 0.549 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3792, allocations: 1.219 kB / 0.549 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.3804, allocations: 481.3 kB / 0.5495 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.3819, allocations: 302.1 kB / 0.5498 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.3842, allocations: 1.417 MB / 0.5512 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.3846, allocations: 342.5 kB / 0.5515 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006095/0.3852, allocations: 198 kB / 0.5517 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.3854, allocations: 56.05 kB / 0.5517 GB, free: 10.98 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3854, allocations: 0 / 0.5517 GB, free: 10.98 MB / 462.1 MB Notification: Performance of Templates: time 0.02407/0.4094, allocations: 13.92 MB / 0.5653 GB, free: 15.13 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.765285982051864]