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.001288/0.001288, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.004493/0.004493, allocations: 165.9 kB / 24.99 MB, free: 8.336 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.9794/0.9794, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2711/0.2711, allocations: 34.26 MB / 296 MB, free: 0.7031 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.994e-06/1.994e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.165e-05, allocations: 2.312 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01807/0.0181, allocations: 21.07 MB / 399.1 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.02338, allocations: 4.368 MB / 403.5 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/0.02395, allocations: 27.75 kB / 403.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.02472, allocations: 309.8 kB / 403.8 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.0264, allocations: 0.9048 MB / 404.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.02853, allocations: 0.9502 MB / 405.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.03046, allocations: 1.828 MB / 407.5 MB, free: 5.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007245/0.03119, allocations: 413.8 kB / 407.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.03307, allocations: 1.184 MB / 409.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009696/0.03404, allocations: 0.6116 MB / 409.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.03417, allocations: 60 kB / 409.8 MB, free: 3.113 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006805/0.03486, allocations: 283.5 kB / 410 MB, free: 2.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.03509, allocations: 291 kB / 410.3 MB, free: 2.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.03537, allocations: 287.4 kB / 410.6 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.0365, allocations: 0.8293 MB / 411.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.03651, allocations: 4 kB / 411.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03651, allocations: 4 kB / 411.4 MB, free: 1.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.03653, allocations: 4 kB / 411.4 MB, free: 1.426 MB / 378.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.001594/0.03812, allocations: 1.091 MB / 412.5 MB, free: 304 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.03816, allocations: 12.03 kB / 412.5 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.03851, allocations: 148.2 kB / 412.7 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.03911, allocations: 496.8 kB / 413.2 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.03922, allocations: 160.3 kB / 413.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.0393, allocations: 56.36 kB / 413.4 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.04012, allocations: 0.9137 MB / 414.3 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.04014, allocations: 0 / 414.3 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.04019, allocations: 24 kB / 414.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.572e-05/0.04025, allocations: 36.92 kB / 414.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.04073, allocations: 297.5 kB / 414.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.04369, allocations: 3.945 MB / 418.6 MB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.04421, allocations: 260.5 kB / 418.8 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.04437, allocations: 100.3 kB / 418.9 MB, free: 9.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.04455, allocations: 52.3 kB / 419 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.04458, allocations: 41.7 kB / 419 MB, free: 9.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.775e-06/0.04459, allocations: 0 / 419 MB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.001886/0.04647, allocations: 1.028 MB / 420.1 MB, free: 8.332 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.04653, allocations: 140.5 kB / 420.2 MB, free: 8.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.04696, allocations: 0.5335 MB / 420.7 MB, free: 7.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.04701, allocations: 37.7 kB / 420.8 MB, free: 7.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.04721, allocations: 415.1 kB / 421.2 MB, free: 7.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.04731, allocations: 174.5 kB / 421.3 MB, free: 6.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.04746, allocations: 148.2 kB / 421.5 MB, free: 6.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.04763, allocations: 0.543 MB / 422 MB, free: 6.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.04781, allocations: 97.92 kB / 422.1 MB, free: 6.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.04821, allocations: 0.5948 MB / 422.7 MB, free: 5.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.0488, allocations: 0.6584 MB / 423.4 MB, free: 4.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.04881, allocations: 4 kB / 423.4 MB, free: 4.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009871/0.0498, allocations: 0.6721 MB / 424.1 MB, free: 3.859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.04982, allocations: 14.03 kB / 424.1 MB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.04983, allocations: 8 kB / 424.1 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.05046, allocations: 219.3 kB / 424.3 MB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.05071, allocations: 127.8 kB / 424.4 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006153/0.05133, allocations: 0.9365 MB / 425.4 MB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.05162, allocations: 27.98 kB / 425.4 MB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.05166, allocations: 43.94 kB / 425.4 MB, free: 2.461 MB / 394.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.0001955/0.05186, allocations: 204.3 kB / 425.6 MB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.05196, allocations: 83.61 kB / 425.7 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007275/0.05269, allocations: 0.5088 MB / 426.2 MB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.0527, allocations: 7.938 kB / 426.2 MB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.0527, allocations: 4 kB / 426.2 MB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.05271, allocations: 3.984 kB / 426.2 MB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.05388, allocations: 1.003 MB / 427.2 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.05389, allocations: 4 kB / 427.2 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.05436, allocations: 180 kB / 427.4 MB, free: 388 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.05452, allocations: 59.55 kB / 427.5 MB, free: 324 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.05455, allocations: 16 kB / 427.5 MB, free: 308 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.05617, allocations: 3.62 MB / 431.1 MB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.05617, allocations: 3.938 kB / 431.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007944/0.05697, allocations: 0.6946 MB / 431.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.05713, allocations: 111.5 kB / 431.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.05718, allocations: 15.94 kB / 431.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.05735, allocations: 12 kB / 431.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.05743, allocations: 39.92 kB / 432 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.05746, allocations: 23.98 kB / 432 MB, free: 11.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002501/0.05771, allocations: 330.7 kB / 432.3 MB, free: 11.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05771, allocations: 0 / 432.3 MB, free: 11.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005525/0.05826, allocations: 203.9 kB / 432.5 MB, free: 10.96 MB / 410.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 (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.0003219/0.05858, allocations: 223 kB / 432.7 MB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.05925, allocations: 404 kB / 433.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.05925, allocations: 3.938 kB / 433.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000602/0.05985, allocations: 424.4 kB / 433.6 MB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.06069, allocations: 332.8 kB / 433.9 MB, free: 9.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.06252, allocations: 1.194 MB / 435.1 MB, free: 8.332 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.06264, allocations: 179.1 kB / 435.2 MB, free: 8.137 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.06305, allocations: 184.3 kB / 435.4 MB, free: 7.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.06316, allocations: 64.42 kB / 435.5 MB, free: 7.906 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.06316, allocations: 0 / 435.5 MB, free: 7.906 MB / 410.7 MB Notification: Performance of Templates: time 0.1562/0.2194, allocations: 13.9 MB / 449.4 MB, free: 102.8 MB / 410.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.624332766979933]