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.00135/0.00135, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009695/0.0009695, allocations: 161.4 kB / 24.55 MB, free: 24 kB / 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.9987/0.9987, allocations: 177.1 MB / 205 MB, free: 5.641 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.2592/0.2592, allocations: 32.81 MB / 294.3 MB, free: 1.219 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 3.076e-06/3.076e-06, allocations: 4 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.442e-05, allocations: 2.312 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.008788/0.008813, allocations: 7.377 MB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004372/0.01318, allocations: 2.456 MB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.01358, allocations: 31.69 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.01419, allocations: 218.5 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.01562, allocations: 0.7612 MB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.01724, allocations: 0.8299 MB / 387.7 MB, free: 8.898 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001966/0.01921, allocations: 1.863 MB / 389.6 MB, free: 7.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006625/0.01987, allocations: 425.8 kB / 390 MB, free: 6.613 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.0212, allocations: 0.9701 MB / 391 MB, free: 5.641 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008803/0.02208, allocations: 0.6233 MB / 391.6 MB, free: 5.016 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.0222, allocations: 60 kB / 391.6 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.02266, allocations: 195.7 kB / 391.8 MB, free: 4.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.02293, allocations: 279.2 kB / 392.1 MB, free: 4.492 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.02328, allocations: 283.4 kB / 392.4 MB, free: 4.215 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.02433, allocations: 0.7631 MB / 393.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.02433, allocations: 0 / 393.1 MB, free: 3.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.02433, allocations: 4 kB / 393.1 MB, free: 3.445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.02435, allocations: 0 / 393.1 MB, free: 3.445 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.001771/0.02612, allocations: 1.079 MB / 394.2 MB, free: 2.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.02616, allocations: 12.03 kB / 394.2 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/0.02653, allocations: 148.2 kB / 394.4 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.02727, allocations: 492.8 kB / 394.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.0274, allocations: 156.4 kB / 395 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.02751, allocations: 56.36 kB / 395.1 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.02854, allocations: 0.9176 MB / 396 MB, free: 352 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.02856, allocations: 3.938 kB / 396 MB, free: 348 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.02863, allocations: 27.98 kB / 396 MB, free: 320 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-05/0.02869, allocations: 40.97 kB / 396.1 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.0294, allocations: 305.5 kB / 396.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003401/0.0328, allocations: 3.914 MB / 400.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.03343, allocations: 280.5 kB / 400.5 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.03363, allocations: 96.3 kB / 400.6 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.0338, allocations: 36.3 kB / 400.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.03383, allocations: 41.72 kB / 400.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.03383, allocations: 0 / 400.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002225/0.03606, allocations: 1.004 MB / 401.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.03612, allocations: 132.5 kB / 401.8 MB, free: 10.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.03665, allocations: 0.5335 MB / 402.4 MB, free: 9.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.03669, allocations: 41.7 kB / 402.4 MB, free: 9.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.03695, allocations: 423.1 kB / 402.8 MB, free: 9.227 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.03708, allocations: 166.6 kB / 403 MB, free: 9.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.03728, allocations: 152.2 kB / 403.1 MB, free: 8.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.03748, allocations: 0.5469 MB / 403.7 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.0377, allocations: 89.94 kB / 403.8 MB, free: 8.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.03824, allocations: 0.5987 MB / 404.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.03889, allocations: 0.6506 MB / 405 MB, free: 6.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.03889, allocations: 4 kB / 405 MB, free: 6.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000885/0.03978, allocations: 0.6762 MB / 405.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.0398, allocations: 8 kB / 405.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.03981, allocations: 8 kB / 405.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.04036, allocations: 211.9 kB / 405.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.04059, allocations: 127.8 kB / 406.1 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005451/0.04113, allocations: 0.9361 MB / 407 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.04134, allocations: 31.98 kB / 407 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.04137, allocations: 36 kB / 407.1 MB, free: 4.551 MB / 378.7 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.0001626/0.04154, allocations: 208.3 kB / 407.3 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.04161, allocations: 79.58 kB / 407.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/0.04225, allocations: 0.4901 MB / 407.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.04226, allocations: 11.97 kB / 407.8 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.04226, allocations: 4 kB / 407.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.04227, allocations: 3.984 kB / 407.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.0433, allocations: 0.9921 MB / 408.8 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.04331, allocations: 4 kB / 408.8 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/0.04377, allocations: 175.8 kB / 409 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/0.04391, allocations: 59.83 kB / 409.1 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.04394, allocations: 8 kB / 409.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.04553, allocations: 3.62 MB / 412.7 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.04553, allocations: 0 / 412.7 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.04623, allocations: 0.6808 MB / 413.4 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.04637, allocations: 111.6 kB / 413.5 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.04641, allocations: 11.94 kB / 413.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.04657, allocations: 12 kB / 413.5 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.04664, allocations: 43.86 kB / 413.6 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.04667, allocations: 20 kB / 413.6 MB, free: 13.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.04691, allocations: 338.7 kB / 413.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04691, allocations: 0 / 413.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004512/0.04736, allocations: 191.9 kB / 414.1 MB, free: 13.11 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.0002593/0.04762, allocations: 166.9 kB / 414.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.04822, allocations: 391 kB / 414.6 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.04823, allocations: 0 / 414.6 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.04884, allocations: 428 kB / 415.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.04967, allocations: 323 kB / 415.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.05146, allocations: 1.193 MB / 416.6 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.05157, allocations: 175.1 kB / 416.7 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.05192, allocations: 180.8 kB / 416.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.05202, allocations: 52.5 kB / 417 MB, free: 10.13 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.05203, allocations: 0 / 417 MB, free: 10.13 MB / 394.7 MB Notification: Performance of Templates: time 0.01461/0.06664, allocations: 12.66 MB / 429.6 MB, free: 13.77 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.6860801028087735]