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.001175/0.001175, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001312/0.001312, allocations: 168.9 kB / 24.91 MB, free: 9.211 MB / 18.57 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 0.9337/0.9337, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2436/0.2436, allocations: 34.26 MB / 296.1 MB, free: 0.668 MB / 266.7 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 1.543e-06/1.543e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.019e-05, allocations: 7.016 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.015/0.01502, allocations: 7.326 MB / 332.6 MB, free: 300 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007287/0.02231, allocations: 2.484 MB / 335.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.02279, allocations: 27.75 kB / 335.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.02344, allocations: 218.5 kB / 335.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.0254, allocations: 0.7728 MB / 336.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.02739, allocations: 0.8305 MB / 336.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002204/0.02959, allocations: 1.855 MB / 338.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.0304, allocations: 426.1 kB / 339.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.0321, allocations: 1.009 MB / 340.2 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009181/0.03301, allocations: 0.5648 MB / 340.8 MB, free: 8.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.03312, allocations: 60 kB / 340.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.03345, allocations: 191.8 kB / 341 MB, free: 7.844 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.03366, allocations: 283.1 kB / 341.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.03387, allocations: 275.3 kB / 341.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008089/0.03468, allocations: 0.7515 MB / 342.3 MB, free: 6.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.03469, allocations: 0 / 342.3 MB, free: 6.543 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.03469, allocations: 0 / 342.3 MB, free: 6.543 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.0347, allocations: 8 kB / 342.3 MB, free: 6.535 MB / 314.7 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.001385/0.03608, allocations: 0.9387 MB / 343.3 MB, free: 5.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.03612, allocations: 8.031 kB / 343.3 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.03638, allocations: 132.6 kB / 343.4 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.03686, allocations: 415.4 kB / 343.8 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.48e-05/0.03695, allocations: 156.4 kB / 343.9 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.03702, allocations: 56.33 kB / 344 MB, free: 4.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.03765, allocations: 0.8109 MB / 344.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.03767, allocations: 3.938 kB / 344.8 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.03771, allocations: 31.91 kB / 344.8 MB, free: 3.785 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.03776, allocations: 36.98 kB / 344.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.03811, allocations: 240.3 kB / 345.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.04022, allocations: 2.691 MB / 347.8 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.04056, allocations: 227.2 kB / 348 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.04065, allocations: 69.5 kB / 348.1 MB, free: 424 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.04076, allocations: 40.3 kB / 348.1 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.04079, allocations: 38.83 kB / 348.2 MB, free: 336 kB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.442e-06/0.04079, allocations: 0 / 348.2 MB, free: 336 kB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001391/0.04218, allocations: 0.8337 MB / 349 MB, free: 15.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.04223, allocations: 132.5 kB / 349.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.04249, allocations: 478.8 kB / 349.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.04252, allocations: 29.7 kB / 349.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.04265, allocations: 333.2 kB / 350 MB, free: 14.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.721e-05/0.04274, allocations: 166.5 kB / 350.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.04286, allocations: 142.5 kB / 350.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.04296, allocations: 374.6 kB / 350.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.04305, allocations: 61.97 kB / 350.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.04336, allocations: 485.5 kB / 351.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.04377, allocations: 0.5238 MB / 351.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.04378, allocations: 4 kB / 351.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006594/0.04444, allocations: 0.521 MB / 352.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.04445, allocations: 11.94 kB / 352.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.04447, allocations: 12 kB / 352.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/0.04492, allocations: 202.9 kB / 352.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.04514, allocations: 127.8 kB / 352.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003741/0.04551, allocations: 0.6537 MB / 353.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.04571, allocations: 28 kB / 353.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.04573, allocations: 24 kB / 353.3 MB, free: 10.78 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0001467/0.04588, allocations: 172.4 kB / 353.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.04595, allocations: 55.95 kB / 353.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.04641, allocations: 402.5 kB / 353.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.04642, allocations: 4 kB / 353.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.04642, allocations: 7.875 kB / 353.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.04643, allocations: 7.984 kB / 353.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.04717, allocations: 0.7242 MB / 354.6 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.04717, allocations: 0 / 354.6 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.04755, allocations: 156.1 kB / 354.8 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.04767, allocations: 56.77 kB / 354.8 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.04769, allocations: 12 kB / 354.8 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.04884, allocations: 2.442 MB / 357.3 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.04884, allocations: 7.984 kB / 357.3 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.04931, allocations: 0.5286 MB / 357.8 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.04941, allocations: 75.55 kB / 357.9 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.04946, allocations: 23.98 kB / 357.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.0496, allocations: 8 kB / 357.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.04965, allocations: 43.81 kB / 358 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.04967, allocations: 15.98 kB / 358 MB, free: 5.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.04981, allocations: 196.4 kB / 358.2 MB, free: 5.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04981, allocations: 0 / 358.2 MB, free: 5.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004005/0.05021, allocations: 191.9 kB / 358.4 MB, free: 5.383 MB / 330.7 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 (45): * Single equations (assignments): 41 * 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.0002234/0.05043, allocations: 140.3 kB / 358.5 MB, free: 5.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004383/0.05087, allocations: 337 kB / 358.8 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/0.05089, allocations: 13 kB / 358.8 MB, free: 4.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.05131, allocations: 328.4 kB / 359.2 MB, free: 4.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.05199, allocations: 335.8 kB / 359.5 MB, free: 4.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.05343, allocations: 1.163 MB / 360.7 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.05354, allocations: 171.1 kB / 360.8 MB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.0538, allocations: 116.9 kB / 360.9 MB, free: 2.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.05421, allocations: 275.1 kB / 361.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.05421, allocations: 0 / 361.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of Templates: time 0.01388/0.06809, allocations: 13.87 MB / 375.1 MB, free: 4.922 MB / 346.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3598093539476395]