Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2723/0.2723, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.821e-05, allocations: 3.156 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2982/0.2983, allocations: 134.6 MB / 0.5014 GB, free: 24.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004415/0.3027, allocations: 3.078 MB / 0.5044 GB, free: 22.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.3033, allocations: 27.69 kB / 0.5044 GB, free: 22.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007223/0.304, allocations: 215.3 kB / 0.5046 GB, free: 22.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.3056, allocations: 0.7817 MB / 0.5054 GB, free: 21.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.3075, allocations: 0.9121 MB / 0.5062 GB, free: 21.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002242/0.3097, allocations: 1.856 MB / 0.5081 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000732/0.3105, allocations: 421.2 kB / 0.5085 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.3122, allocations: 0.9166 MB / 0.5094 GB, free: 19.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.3133, allocations: 0.6902 MB / 0.51 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.3134, allocations: 63.75 kB / 0.5101 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000687/0.3141, allocations: 280.6 kB / 0.5104 GB, free: 19.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.3144, allocations: 293.2 kB / 0.5106 GB, free: 19.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.3148, allocations: 285 kB / 0.5109 GB, free: 19.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.3159, allocations: 0.797 MB / 0.5117 GB, free: 19.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3159, allocations: 0 / 0.5117 GB, free: 19.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3159, allocations: 0 / 0.5117 GB, free: 19.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.3159, allocations: 0 / 0.5117 GB, free: 19.07 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.001615/0.3175, allocations: 1.082 MB / 0.5127 GB, free: 18.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3176, allocations: 9.031 kB / 0.5128 GB, free: 18.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.3179, allocations: 170 kB / 0.5129 GB, free: 18.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.3185, allocations: 487.4 kB / 0.5134 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.3186, allocations: 159.4 kB / 0.5135 GB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.3187, allocations: 53.31 kB / 0.5136 GB, free: 17.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.3194, allocations: 0.9733 MB / 0.5145 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3195, allocations: 6.625 kB / 0.5145 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.3195, allocations: 25.25 kB / 0.5146 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/0.3196, allocations: 44.23 kB / 0.5146 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.32, allocations: 305.9 kB / 0.5149 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.3222, allocations: 3.505 MB / 0.5183 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.3226, allocations: 269.2 kB / 0.5186 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.3228, allocations: 104.9 kB / 0.5187 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.3229, allocations: 39.92 kB / 0.5187 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.3229, allocations: 45.03 kB / 0.5188 GB, free: 13.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.3229, allocations: 0 / 0.5188 GB, free: 13.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001682/0.3246, allocations: 0.9772 MB / 0.5197 GB, free: 13.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3247, allocations: 138.5 kB / 0.5198 GB, free: 13.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.325, allocations: 0.5369 MB / 0.5204 GB, free: 12.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.325, allocations: 32.23 kB / 0.5204 GB, free: 12.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3252, allocations: 423.8 kB / 0.5208 GB, free: 12.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.3253, allocations: 172.7 kB / 0.521 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3254, allocations: 142.6 kB / 0.5211 GB, free: 12.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.3255, allocations: 0.5473 MB / 0.5216 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3256, allocations: 93.41 kB / 0.5217 GB, free: 11.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.3259, allocations: 0.5947 MB / 0.5223 GB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.3263, allocations: 0.6412 MB / 0.5229 GB, free: 10.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3263, allocations: 0 / 0.5229 GB, free: 10.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007769/0.3271, allocations: 0.6606 MB / 0.5236 GB, free: 10.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3271, allocations: 9.656 kB / 0.5236 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3271, allocations: 11.06 kB / 0.5236 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006649/0.3278, allocations: 240.3 kB / 0.5238 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.328, allocations: 118.8 kB / 0.5239 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004738/0.3285, allocations: 0.9701 MB / 0.5249 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.3287, allocations: 28.91 kB / 0.5249 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.3287, allocations: 42.67 kB / 0.525 GB, free: 9.129 MB / 410.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 (71): * Single equations (assignments): 70 * 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.0001354/0.3289, allocations: 201.8 kB / 0.5251 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.3289, allocations: 77.09 kB / 0.5252 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.3296, allocations: 0.4925 MB / 0.5257 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3296, allocations: 10.31 kB / 0.5257 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3296, allocations: 0 / 0.5257 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3296, allocations: 2.203 kB / 0.5257 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.3305, allocations: 0.9503 MB / 0.5266 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3305, allocations: 3.938 kB / 0.5266 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.331, allocations: 198.8 kB / 0.5268 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-05/0.3311, allocations: 22 kB / 0.5269 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.3311, allocations: 16.83 kB / 0.5269 GB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009665/0.3321, allocations: 3.563 MB / 0.5304 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3321, allocations: 2.406 kB / 0.5304 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.3326, allocations: 0.6489 MB / 0.531 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3328, allocations: 107.4 kB / 0.5311 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.3328, allocations: 13.47 kB / 0.5311 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.333, allocations: 19.47 kB / 0.5311 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.3331, allocations: 31.92 kB / 0.5312 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.3331, allocations: 23.22 kB / 0.5312 GB, free: 3.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002151/0.3333, allocations: 342.3 kB / 0.5315 GB, free: 3.742 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3333, allocations: 0 / 0.5315 GB, free: 3.742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005249/0.3338, allocations: 193.8 kB / 0.5317 GB, free: 3.715 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.0003065/0.3341, allocations: 173.3 kB / 0.5319 GB, free: 3.598 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.3348, allocations: 405.9 kB / 0.5322 GB, free: 3.484 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3348, allocations: 0.5 kB / 0.5322 GB, free: 3.484 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.3353, allocations: 407.7 kB / 0.5326 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.3361, allocations: 334.6 kB / 0.5329 GB, free: 3.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3378, allocations: 1.177 MB / 0.5341 GB, free: 2.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3379, allocations: 172.5 kB / 0.5343 GB, free: 2.383 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.3383, allocations: 177.7 kB / 0.5344 GB, free: 2.344 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3384, allocations: 57.61 kB / 0.5345 GB, free: 2.332 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3384, allocations: 0 / 0.5345 GB, free: 2.332 MB / 410.7 MB Notification: Performance of Templates: time 0.01698/0.3554, allocations: 12.9 MB / 0.5471 GB, free: 11.64 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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.9391791857779026]