Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001592/0.00263, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009763/0.0009763, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002411, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9874/0.9874, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1689/1.156, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.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.1523/0.1523, allocations: 32.81 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03136/0.1836, allocations: 12.54 MB / 284.5 MB, free: 9.719 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.742e-05, allocations: 10.25 kB / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2905/0.2906, allocations: 145.6 MB / 431.5 MB, free: 6.531 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.2943, allocations: 2.65 MB / 434.1 MB, free: 3.898 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.2946, allocations: 27.75 kB / 434.2 MB, free: 3.871 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.2951, allocations: 218.5 kB / 434.4 MB, free: 3.656 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.2969, allocations: 1.057 MB / 435.4 MB, free: 2.594 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.2981, allocations: 0.8119 MB / 436.2 MB, free: 1.781 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.2995, allocations: 1.935 MB / 438.2 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.2999, allocations: 421.7 kB / 438.6 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.301, allocations: 1.177 MB / 439.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.3015, allocations: 0.5609 MB / 440.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.3016, allocations: 60 kB / 440.4 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.3022, allocations: 475.2 kB / 440.8 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.3023, allocations: 231.3 kB / 441.1 MB, free: 12.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.3025, allocations: 227.6 kB / 441.3 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007944/0.3033, allocations: 0.8685 MB / 442.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.3033, allocations: 3.938 kB / 442.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3033, allocations: 0 / 442.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3034, allocations: 0 / 442.2 MB, free: 11.84 MB / 410.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.001381/0.3047, allocations: 1.241 MB / 443.4 MB, free: 10.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3048, allocations: 12.03 kB / 443.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005067/0.3053, allocations: 208.2 kB / 443.6 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.3058, allocations: 415.5 kB / 444 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3059, allocations: 153.6 kB / 444.2 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.306, allocations: 67.89 kB / 444.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.3067, allocations: 0.9067 MB / 445.2 MB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3067, allocations: 11.89 kB / 445.2 MB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.3067, allocations: 24 kB / 445.2 MB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.3068, allocations: 36.98 kB / 445.2 MB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.3071, allocations: 225.4 kB / 445.4 MB, free: 8.309 MB / 410.7 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.00199/0.3091, allocations: 2.657 MB / 448.1 MB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3093, allocations: 173.1 kB / 448.3 MB, free: 5.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.3093, allocations: 61.39 kB / 448.3 MB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.3094, allocations: 44.91 kB / 448.4 MB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3095, allocations: 49.27 kB / 448.4 MB, free: 5.211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.423e-06/0.3095, allocations: 0 / 448.4 MB, free: 5.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002167/0.3116, allocations: 0.9313 MB / 449.4 MB, free: 4.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.3117, allocations: 63.33 kB / 449.4 MB, free: 4.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.312, allocations: 486.8 kB / 449.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.312, allocations: 33.7 kB / 449.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3121, allocations: 341 kB / 450.3 MB, free: 3.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.149e-05/0.3122, allocations: 150.8 kB / 450.4 MB, free: 3.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.3124, allocations: 146.5 kB / 450.5 MB, free: 2.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3125, allocations: 378.5 kB / 450.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.07e-05/0.3126, allocations: 61.97 kB / 451 MB, free: 2.555 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.3129, allocations: 495.5 kB / 451.5 MB, free: 1.895 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.3133, allocations: 0.5636 MB / 452 MB, free: 1.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3133, allocations: 4 kB / 452 MB, free: 1.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005259/0.3138, allocations: 497 kB / 452.5 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3138, allocations: 12.22 kB / 452.5 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3138, allocations: 12 kB / 452.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005219/0.3144, allocations: 217.3 kB / 452.8 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.3146, allocations: 139.8 kB / 452.9 MB, free: 316 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004566/0.3151, allocations: 0.6748 MB / 453.6 MB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.3153, allocations: 24 kB / 453.6 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.3153, allocations: 60.02 kB / 453.6 MB, free: 15.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (70): * Single equations (assignments): 69 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.3155, allocations: 164.4 kB / 453.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.3155, allocations: 51.94 kB / 453.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.3162, allocations: 0.567 MB / 454.4 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3162, allocations: 8 kB / 454.4 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3162, allocations: 4 kB / 454.4 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3162, allocations: 3.984 kB / 454.4 MB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000784/0.317, allocations: 0.7238 MB / 455.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.317, allocations: 0 / 455.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.3175, allocations: 200 kB / 455.4 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3176, allocations: 67.61 kB / 455.4 MB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-05/0.3177, allocations: 24.77 kB / 455.4 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3177, allocations: 16 kB / 455.5 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.3188, allocations: 2.395 MB / 457.9 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3188, allocations: 0 / 457.9 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.3192, allocations: 471.8 kB / 458.3 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.3192, allocations: 16.19 kB / 458.3 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3194, allocations: 19.92 kB / 458.4 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.3194, allocations: 35.88 kB / 458.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.3195, allocations: 31.98 kB / 458.4 MB, free: 10.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3196, allocations: 200.4 kB / 458.6 MB, free: 10.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3196, allocations: 0 / 458.6 MB, free: 10.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.32, allocations: 243.8 kB / 458.9 MB, free: 10.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004982/0.3205, allocations: 276.2 kB / 459.1 MB, free: 9.758 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.3209, allocations: 319.9 kB / 459.4 MB, free: 9.445 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.048e-05/0.321, allocations: 12.5 kB / 459.4 MB, free: 9.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.3214, allocations: 334.1 kB / 459.8 MB, free: 9.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3225, allocations: 1.809 MB / 461.6 MB, free: 6.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007081/0.3296, allocations: 1.137 MB / 462.7 MB, free: 5.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3297, allocations: 166.5 kB / 462.9 MB, free: 5.605 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004375/0.3301, allocations: 313.8 kB / 463.2 MB, free: 5.297 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.3306, allocations: 317 kB / 463.5 MB, free: 4.984 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3306, allocations: 0 / 463.5 MB, free: 4.984 MB / 426.7 MB Notification: Performance of Templates: time 0.01741/0.348, allocations: 16.31 MB / 479.8 MB, free: 4.934 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.42412602994591]