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.001362/0.001362, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001201/0.001201, allocations: 172 kB / 24.82 MB, free: 9.316 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 1.131/1.131, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.2797/0.2797, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.373e-05, allocations: 6.25 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006747/0.006771, allocations: 7.312 MB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.009845, allocations: 2.445 MB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.01021, allocations: 27.75 kB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.01071, allocations: 214.5 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.01182, allocations: 0.765 MB / 387.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.0131, allocations: 0.826 MB / 388.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.01451, allocations: 1.859 MB / 389.9 MB, free: 6.887 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.01494, allocations: 433.3 kB / 390.4 MB, free: 6.465 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.01595, allocations: 1.005 MB / 391.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000567/0.01652, allocations: 0.6038 MB / 392 MB, free: 4.852 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.01659, allocations: 56 kB / 392 MB, free: 4.797 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.01693, allocations: 187.8 kB / 392.2 MB, free: 4.613 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.01712, allocations: 287.1 kB / 392.5 MB, free: 4.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.01732, allocations: 279.3 kB / 392.8 MB, free: 4.059 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007417/0.01806, allocations: 0.7476 MB / 393.5 MB, free: 3.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.01807, allocations: 4 kB / 393.5 MB, free: 3.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01807, allocations: 0 / 393.5 MB, free: 3.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.01807, allocations: 0 / 393.5 MB, free: 3.305 MB / 362.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.00138/0.01945, allocations: 1.079 MB / 394.6 MB, free: 2.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.01949, allocations: 8.031 kB / 394.6 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.01974, allocations: 156.2 kB / 394.7 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.02024, allocations: 480.7 kB / 395.2 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.02033, allocations: 152.4 kB / 395.4 MB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.0204, allocations: 56.36 kB / 395.4 MB, free: 1.301 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.02103, allocations: 0.8533 MB / 396.3 MB, free: 292 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.02105, allocations: 11.92 kB / 396.3 MB, free: 280 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.02109, allocations: 20 kB / 396.3 MB, free: 260 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.02114, allocations: 40.98 kB / 396.3 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.02146, allocations: 254.6 kB / 396.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.02383, allocations: 3.805 MB / 400.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.02421, allocations: 252.5 kB / 400.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.02431, allocations: 88.27 kB / 400.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.02443, allocations: 40.06 kB / 400.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.02446, allocations: 45.66 kB / 400.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.02446, allocations: 0 / 400.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001326/0.02579, allocations: 0.8565 MB / 401.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.02583, allocations: 132.5 kB / 401.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.02617, allocations: 0.5332 MB / 402.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.0262, allocations: 37.7 kB / 402.4 MB, free: 9.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.02639, allocations: 438.9 kB / 402.8 MB, free: 9.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.139e-05/0.02648, allocations: 178.5 kB / 403 MB, free: 9.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.02662, allocations: 152.2 kB / 403.1 MB, free: 9.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.02678, allocations: 0.5546 MB / 403.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.02688, allocations: 69.94 kB / 403.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.02721, allocations: 0.6078 MB / 404.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.02766, allocations: 0.6493 MB / 405 MB, free: 6.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.02766, allocations: 4 kB / 405 MB, free: 6.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000758/0.02842, allocations: 0.6373 MB / 405.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.02844, allocations: 15.94 kB / 405.7 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.02845, allocations: 8 kB / 405.7 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/0.02895, allocations: 211.8 kB / 405.9 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.02918, allocations: 127.8 kB / 406 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004941/0.02967, allocations: 0.9325 MB / 406.9 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.02991, allocations: 28 kB / 407 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.02994, allocations: 28 kB / 407 MB, free: 4.836 MB / 378.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.0001821/0.03012, allocations: 212.3 kB / 407.2 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.0302, allocations: 75.58 kB / 407.3 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.03077, allocations: 477.3 kB / 407.7 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.03078, allocations: 4 kB / 407.7 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.03078, allocations: 3.938 kB / 407.7 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.03079, allocations: 3.984 kB / 407.7 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009003/0.03169, allocations: 0.8755 MB / 408.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.03169, allocations: 0 / 408.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.0321, allocations: 163.8 kB / 408.8 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.03224, allocations: 59.83 kB / 408.8 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.03227, allocations: 19.98 kB / 408.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.03377, allocations: 3.57 MB / 412.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.03377, allocations: 4 kB / 412.4 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.03438, allocations: 0.6299 MB / 413.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.03451, allocations: 95.56 kB / 413.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.03456, allocations: 20.06 kB / 413.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.03471, allocations: 19.92 kB / 413.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.03477, allocations: 39.81 kB / 413.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.03479, allocations: 16 kB / 413.3 MB, free: 14.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.03497, allocations: 318.7 kB / 413.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03497, allocations: 0 / 413.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004802/0.03545, allocations: 195.9 kB / 413.8 MB, free: 13.69 MB / 394.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.0002251/0.03568, allocations: 159.1 kB / 413.9 MB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.03616, allocations: 359.1 kB / 414.3 MB, free: 13.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.03617, allocations: 4 kB / 414.3 MB, free: 13.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.03666, allocations: 396.2 kB / 414.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.03746, allocations: 314.2 kB / 415 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.03909, allocations: 1.201 MB / 416.2 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.0392, allocations: 175 kB / 416.3 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.0395, allocations: 113.3 kB / 416.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/0.03995, allocations: 329.9 kB / 416.8 MB, free: 10.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.041e-06/0.03995, allocations: 4 kB / 416.8 MB, free: 10.57 MB / 394.7 MB Notification: Performance of Templates: time 0.01592/0.05587, allocations: 13.86 MB / 430.6 MB, free: 13.01 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.733790676109493]