Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0009478/0.0009478, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003752/0.0047, 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.0008294/0.0008294, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004239/0.005069, 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 1/1, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1706/1.171, allocations: 52.48 MB / 238.5 MB, free: 7.645 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.1378/0.1378, allocations: 32.8 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02376/0.1616, allocations: 12.53 MB / 284.5 MB, free: 9.73 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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.392e-05, allocations: 6.312 kB / 285.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3056/0.3057, allocations: 131.6 MB / 417.4 MB, free: 4.691 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004327/0.31, allocations: 3.143 MB / 420.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.3103, allocations: 31.69 kB / 420.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.3108, allocations: 218.5 kB / 420.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.312, allocations: 0.769 MB / 421.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3135, allocations: 0.8895 MB / 422.5 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.3155, allocations: 1.883 MB / 424.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.3161, allocations: 425.7 kB / 424.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.3175, allocations: 0.9934 MB / 425.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007594/0.3183, allocations: 0.635 MB / 426.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.3184, allocations: 64 kB / 426.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.3189, allocations: 279.5 kB / 426.7 MB, free: 11.38 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.3191, allocations: 231.3 kB / 426.9 MB, free: 11.15 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.3193, allocations: 227.6 kB / 427.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000718/0.32, allocations: 0.7009 MB / 427.9 MB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.3201, allocations: 0 / 427.9 MB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3201, allocations: 0 / 427.9 MB, free: 10.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.3201, allocations: 0 / 427.9 MB, free: 10.22 MB / 394.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.001429/0.3215, allocations: 1.182 MB / 429 MB, free: 8.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.3215, allocations: 12.03 kB / 429.1 MB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.3218, allocations: 124.6 kB / 429.2 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.3223, allocations: 435.3 kB / 429.6 MB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.553e-05/0.3224, allocations: 154.9 kB / 429.8 MB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.3225, allocations: 60.36 kB / 429.8 MB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.3231, allocations: 0.8891 MB / 430.7 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3231, allocations: 4.375 kB / 430.7 MB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.3232, allocations: 35.86 kB / 430.7 MB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.3232, allocations: 36.98 kB / 430.8 MB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.3235, allocations: 232.3 kB / 431 MB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.3255, allocations: 2.444 MB / 433.5 MB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.3258, allocations: 220.6 kB / 433.7 MB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/0.3259, allocations: 73.42 kB / 433.7 MB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.326, allocations: 48.28 kB / 433.8 MB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.326, allocations: 38.89 kB / 433.8 MB, free: 3.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.362e-06/0.326, allocations: 0 / 433.8 MB, free: 3.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.001505/0.3275, allocations: 0.8624 MB / 434.7 MB, free: 3.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.3276, allocations: 63.34 kB / 434.7 MB, free: 2.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.3279, allocations: 470.8 kB / 435.2 MB, free: 2.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3279, allocations: 33.7 kB / 435.2 MB, free: 2.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.328, allocations: 333.2 kB / 435.6 MB, free: 2.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.674e-05/0.3281, allocations: 170.5 kB / 435.7 MB, free: 1.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3282, allocations: 150.5 kB / 435.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3283, allocations: 374.6 kB / 436.2 MB, free: 1.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.3284, allocations: 65.95 kB / 436.3 MB, free: 1.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.3287, allocations: 477.5 kB / 436.8 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3291, allocations: 0.5511 MB / 437.3 MB, free: 0 / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3291, allocations: 0 / 437.3 MB, free: 0 / 394.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005729/0.3297, allocations: 0.5057 MB / 437.8 MB, free: 15.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3297, allocations: 12 kB / 437.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3297, allocations: 8 kB / 437.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.3303, allocations: 230.5 kB / 438.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3306, allocations: 147.8 kB / 438.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004362/0.331, allocations: 0.6593 MB / 438.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.3312, allocations: 20 kB / 438.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.3312, allocations: 37.55 kB / 438.9 MB, free: 14.36 MB / 410.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 (74): * Single equations (assignments): 73 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.3314, allocations: 168.4 kB / 439.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.3315, allocations: 57.38 kB / 439.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005678/0.332, allocations: 407.6 kB / 439.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.332, allocations: 8 kB / 439.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.332, allocations: 0 / 439.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.332, allocations: 3.984 kB / 439.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.3327, allocations: 0.7092 MB / 440.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3327, allocations: 0 / 440.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.3332, allocations: 196 kB / 440.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3333, allocations: 79.52 kB / 440.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.888e-05/0.3334, allocations: 20.84 kB / 440.6 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.3334, allocations: 17.19 kB / 440.6 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.3345, allocations: 2.403 MB / 443 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3345, allocations: 4 kB / 443 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.3349, allocations: 0.5046 MB / 443.5 MB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.335, allocations: 19.92 kB / 443.5 MB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3351, allocations: 16 kB / 443.5 MB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.3352, allocations: 35.88 kB / 443.6 MB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.3352, allocations: 15.98 kB / 443.6 MB, free: 9.414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.3354, allocations: 200.3 kB / 443.8 MB, free: 9.219 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3354, allocations: 0 / 443.8 MB, free: 9.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.3358, allocations: 195.9 kB / 444 MB, free: 9.027 MB / 410.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 (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,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.0003782/0.3361, allocations: 193.8 kB / 444.2 MB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.3366, allocations: 356 kB / 444.5 MB, free: 8.512 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.332e-05/0.3366, allocations: 16.5 kB / 444.5 MB, free: 8.496 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.3371, allocations: 343.3 kB / 444.9 MB, free: 8.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.3383, allocations: 1.837 MB / 446.7 MB, free: 6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007162/0.3455, allocations: 1.168 MB / 447.9 MB, free: 4.781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.3456, allocations: 175 kB / 448 MB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.3459, allocations: 116.5 kB / 448.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.3463, allocations: 309 kB / 448.4 MB, free: 4.168 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3463, allocations: 0 / 448.4 MB, free: 4.168 MB / 410.7 MB Notification: Performance of Templates: time 0.01592/0.3622, allocations: 14.6 MB / 463 MB, free: 5.848 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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.448077511973679]