Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001755/0.001755, allocations: 71.75 kB / 21.24 MB, free: 0.5391 MB / 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.002227/0.002227, allocations: 162.2 kB / 24.5 MB, free: 3.707 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.466/1.466, allocations: 177.2 MB / 204.9 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 32.8 MB / 294.1 MB, free: 0 / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.91 kB / 440.6 MB, free: 9.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3199, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01479/0.3347, allocations: 18.69 MB / 0.5124 GB, free: 18.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.3394, allocations: 4.004 MB / 0.5163 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.3398, allocations: 24.97 kB / 0.5163 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000756/0.3406, allocations: 304.3 kB / 0.5166 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.3422, allocations: 0.8822 MB / 0.5175 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.3445, allocations: 0.9122 MB / 0.5184 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.3466, allocations: 1.813 MB / 0.5202 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006052/0.3472, allocations: 396.9 kB / 0.5205 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.3493, allocations: 0.9614 MB / 0.5215 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.3504, allocations: 0.6553 MB / 0.5221 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.3505, allocations: 59.47 kB / 0.5222 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007975/0.3513, allocations: 283.9 kB / 0.5224 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.3516, allocations: 271 kB / 0.5227 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.3519, allocations: 327.5 kB / 0.523 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.3539, allocations: 1.086 MB / 0.5241 GB, free: 12.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3539, allocations: 4.547 kB / 0.5241 GB, free: 12.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3539, allocations: 0 / 0.5241 GB, free: 12.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.354, allocations: 0 / 0.5241 GB, free: 12.68 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.002223/0.3562, allocations: 0.9919 MB / 0.525 GB, free: 12.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3562, allocations: 14.42 kB / 0.5251 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.3566, allocations: 94.52 kB / 0.5252 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008288/0.3574, allocations: 465.9 kB / 0.5256 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.3575, allocations: 163.1 kB / 0.5258 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3576, allocations: 49.77 kB / 0.5258 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.359, allocations: 1.077 MB / 0.5268 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.359, allocations: 1.406 kB / 0.5269 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.3591, allocations: 27.83 kB / 0.5269 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.668e-05/0.3592, allocations: 42.95 kB / 0.5269 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.3604, allocations: 0.6411 MB / 0.5275 GB, free: 10.52 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.004245/0.3646, allocations: 3.328 MB / 0.5308 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000884/0.3655, allocations: 396.7 kB / 0.5312 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.3658, allocations: 197.5 kB / 0.5314 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.3661, allocations: 48.8 kB / 0.5314 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3661, allocations: 39.47 kB / 0.5314 GB, free: 7.723 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.3661, allocations: 0 / 0.5314 GB, free: 7.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003205/0.3693, allocations: 1.458 MB / 0.5329 GB, free: 6.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3694, allocations: 142.5 kB / 0.533 GB, free: 6.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.37, allocations: 0.5166 MB / 0.5335 GB, free: 6.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.37, allocations: 32.02 kB / 0.5335 GB, free: 6.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.3702, allocations: 372.8 kB / 0.5339 GB, free: 6.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.3703, allocations: 170.8 kB / 0.5341 GB, free: 6.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.3705, allocations: 139 kB / 0.5342 GB, free: 6.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3706, allocations: 367.9 kB / 0.5345 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.371, allocations: 226 kB / 0.5348 GB, free: 5.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.3715, allocations: 0.5952 MB / 0.5353 GB, free: 5.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008808/0.3724, allocations: 0.7858 MB / 0.5361 GB, free: 4.457 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.3724, allocations: 3.219 kB / 0.5361 GB, free: 4.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001725/0.3742, allocations: 0.933 MB / 0.537 GB, free: 4.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3742, allocations: 9.312 kB / 0.537 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3742, allocations: 13.22 kB / 0.537 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.3753, allocations: 262.3 kB / 0.5373 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.3757, allocations: 125.5 kB / 0.5374 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008562/0.3766, allocations: 0.8712 MB / 0.5383 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.3771, allocations: 27.95 kB / 0.5383 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/0.3772, allocations: 37.81 kB / 0.5383 GB, free: 3.301 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.0002939/0.3774, allocations: 241.9 kB / 0.5386 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3776, allocations: 60.31 kB / 0.5386 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.3789, allocations: 0.7193 MB / 0.5393 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.3789, allocations: 6.266 kB / 0.5393 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3789, allocations: 0.5156 kB / 0.5393 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3789, allocations: 3.219 kB / 0.5393 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.3808, allocations: 1.239 MB / 0.5405 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3808, allocations: 2.344 kB / 0.5405 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.3818, allocations: 187 kB / 0.5407 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.382, allocations: 62.28 kB / 0.5408 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.3821, allocations: 20.22 kB / 0.5408 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.384, allocations: 2.727 MB / 0.5435 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.384, allocations: 9.516 kB / 0.5435 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3857, allocations: 1.001 MB / 0.5444 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.386, allocations: 119.1 kB / 0.5446 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/0.3861, allocations: 11.02 kB / 0.5446 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.3864, allocations: 15.67 kB / 0.5446 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.3865, allocations: 36.06 kB / 0.5446 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.3866, allocations: 19.69 kB / 0.5446 GB, free: 14.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004818/0.3871, allocations: 352.8 kB / 0.545 GB, free: 14.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3871, allocations: 8 kB / 0.545 GB, free: 14.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009209/0.388, allocations: 202.1 kB / 0.5452 GB, free: 14.58 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.0004716/0.3885, allocations: 228.3 kB / 0.5454 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.3899, allocations: 0.578 MB / 0.546 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3899, allocations: 1.25 kB / 0.546 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.3912, allocations: 481.9 kB / 0.5464 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.3928, allocations: 317.1 kB / 0.5467 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.3953, allocations: 1.416 MB / 0.5481 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.3957, allocations: 335.9 kB / 0.5484 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006782/0.3964, allocations: 204.7 kB / 0.5486 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.3965, allocations: 59.11 kB / 0.5487 GB, free: 12.95 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3965, allocations: 0 / 0.5487 GB, free: 12.95 MB / 462.1 MB Notification: Performance of Templates: time 0.02607/0.4226, allocations: 13.92 MB / 0.5623 GB, free: 2.367 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.426462426083162]