Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001416/0.001416, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001525/0.001525, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9802/0.9802, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1467/0.1467, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.187e-05, allocations: 2.312 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2816/0.2816, allocations: 149.3 MB / 497 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.2864, allocations: 5.348 MB / 0.4905 GB, free: 5.832 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.2868, allocations: 27.16 kB / 0.4906 GB, free: 5.816 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004814/0.2872, allocations: 242 kB / 0.4908 GB, free: 5.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.29, allocations: 1.807 MB / 0.4926 GB, free: 4.402 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2913, allocations: 1.036 MB / 0.4936 GB, free: 3.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.293, allocations: 2.282 MB / 0.4958 GB, free: 2.289 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.2935, allocations: 0.543 MB / 0.4963 GB, free: 1.879 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.2948, allocations: 1.42 MB / 0.4977 GB, free: 1.059 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.2955, allocations: 0.7774 MB / 0.4985 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.2956, allocations: 91.25 kB / 0.4986 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.2972, allocations: 1.449 MB / 0.5 GB, free: 15.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.2975, allocations: 470.8 kB / 0.5004 GB, free: 15.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.2978, allocations: 403.2 kB / 0.5008 GB, free: 15.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.2994, allocations: 1.85 MB / 0.5026 GB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2994, allocations: 0 / 0.5026 GB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2994, allocations: 0 / 0.5026 GB, free: 13.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.2994, allocations: 0 / 0.5026 GB, free: 13.16 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001838/0.3013, allocations: 1.516 MB / 0.5041 GB, free: 11.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3013, allocations: 8.031 kB / 0.5041 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.3016, allocations: 188.1 kB / 0.5043 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.3022, allocations: 0.5749 MB / 0.5048 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.3023, allocations: 168.8 kB / 0.505 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.956e-05/0.3024, allocations: 76 kB / 0.5051 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3035, allocations: 1.229 MB / 0.5063 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3035, allocations: 11.94 kB / 0.5063 GB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.3035, allocations: 31.98 kB / 0.5063 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.848e-05/0.3036, allocations: 61.97 kB / 0.5064 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.3043, allocations: 0.5501 MB / 0.5069 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.3074, allocations: 3.711 MB / 0.5105 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/0.3082, allocations: 490.6 kB / 0.511 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.3084, allocations: 193.5 kB / 0.5112 GB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.3088, allocations: 222.1 kB / 0.5114 GB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3088, allocations: 49.98 kB / 0.5114 GB, free: 3.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 2.094e-06/0.3088, allocations: 0 / 0.5114 GB, free: 3.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=82): time 0.004411/0.3132, allocations: 2.398 MB / 0.5138 GB, free: 1.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3133, allocations: 115.4 kB / 0.5139 GB, free: 1.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.3137, allocations: 0.5569 MB / 0.5144 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.3137, allocations: 41.7 kB / 0.5145 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.3139, allocations: 463 kB / 0.5149 GB, free: 64 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.3141, allocations: 301.4 kB / 0.5152 GB, free: 15.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.3143, allocations: 212.5 kB / 0.5154 GB, free: 15.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3145, allocations: 0.5625 MB / 0.516 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.3148, allocations: 194.5 kB / 0.5162 GB, free: 14.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.3152, allocations: 0.6463 MB / 0.5168 GB, free: 13.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007972/0.316, allocations: 0.838 MB / 0.5176 GB, free: 12.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.316, allocations: 0 / 0.5176 GB, free: 12.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001233/0.3173, allocations: 1 MB / 0.5186 GB, free: 11.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3173, allocations: 8 kB / 0.5186 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3173, allocations: 12 kB / 0.5186 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/0.3198, allocations: 0.9863 MB / 0.5196 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.3202, allocations: 163.7 kB / 0.5197 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009651/0.3211, allocations: 1.195 MB / 0.5209 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.3214, allocations: 43.98 kB / 0.5209 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/0.3215, allocations: 63.97 kB / 0.521 GB, free: 9.453 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (92): * Single equations (assignments): 91 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.3217, allocations: 224.2 kB / 0.5212 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.3219, allocations: 103.5 kB / 0.5213 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.3232, allocations: 1.047 MB / 0.5223 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.3232, allocations: 11.98 kB / 0.5223 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3232, allocations: 0 / 0.5223 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.3232, allocations: 3.984 kB / 0.5223 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.325, allocations: 1.566 MB / 0.5239 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.325, allocations: 0 / 0.5239 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.3256, allocations: 247.7 kB / 0.5241 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006693/0.3263, allocations: 255.3 kB / 0.5243 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.3263, allocations: 27.98 kB / 0.5244 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.3276, allocations: 2.699 MB / 0.527 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3276, allocations: 0 / 0.527 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.3289, allocations: 1.083 MB / 0.5281 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.3292, allocations: 191.3 kB / 0.5282 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.3293, allocations: 23.98 kB / 0.5283 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.3296, allocations: 44 kB / 0.5283 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3297, allocations: 72.41 kB / 0.5284 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/0.3298, allocations: 47.97 kB / 0.5284 GB, free: 1.527 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002495/0.33, allocations: 354.8 kB / 0.5288 GB, free: 1.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.33, allocations: 0 / 0.5288 GB, free: 1.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009057/0.3309, allocations: 491.1 kB / 0.5292 GB, free: 0.6992 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (80): * Single equations (assignments): 76 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008826/0.3318, allocations: 0.5381 MB / 0.5298 GB, free: 164 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.3329, allocations: 0.6901 MB / 0.5304 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3329, allocations: 0 / 0.5304 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.3336, allocations: 437.9 kB / 0.5309 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3346, allocations: 457.3 kB / 0.5313 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.3372, allocations: 1.702 MB / 0.533 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.3374, allocations: 221.8 kB / 0.5332 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005063/0.3379, allocations: 246.8 kB / 0.5334 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3381, allocations: 100.5 kB / 0.5335 GB, free: 12.26 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3381, allocations: 0 / 0.5335 GB, free: 12.26 MB / 410.7 MB Notification: Performance of Templates: time 0.02674/0.3648, allocations: 28.33 MB / 0.5612 GB, free: 15.98 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.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: 4.485312572214752]