Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001007/0.001007, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009504/0.0009504, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9535/0.9535, allocations: 177.1 MB / 205 MB, free: 5.578 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.2498/0.2498, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.843e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2895/0.2895, allocations: 148.7 MB / 0.5144 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.2929, allocations: 2.589 MB / 0.517 GB, free: 13.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.2934, allocations: 27.72 kB / 0.517 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.294, allocations: 215.6 kB / 0.5172 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.296, allocations: 1.094 MB / 0.5183 GB, free: 12.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.2975, allocations: 0.826 MB / 0.5191 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.2992, allocations: 1.907 MB / 0.5209 GB, free: 11.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006502/0.2998, allocations: 418.6 kB / 0.5213 GB, free: 11.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.3013, allocations: 1.046 MB / 0.5224 GB, free: 10.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008123/0.3021, allocations: 0.6441 MB / 0.523 GB, free: 10.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.3022, allocations: 60.25 kB / 0.5231 GB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007361/0.3029, allocations: 447.8 kB / 0.5235 GB, free: 10.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.3032, allocations: 296.7 kB / 0.5238 GB, free: 10.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.3034, allocations: 282.5 kB / 0.524 GB, free: 10.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.3047, allocations: 1.003 MB / 0.525 GB, free: 9.992 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3047, allocations: 0 / 0.525 GB, free: 9.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3047, allocations: 4 kB / 0.525 GB, free: 9.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.3047, allocations: 0 / 0.525 GB, free: 9.988 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.001549/0.3062, allocations: 1.138 MB / 0.5261 GB, free: 9.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3063, allocations: 12.12 kB / 0.5261 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.3069, allocations: 219.7 kB / 0.5263 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.3075, allocations: 492.7 kB / 0.5268 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.1e-05/0.3076, allocations: 152.5 kB / 0.527 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.989e-05/0.3077, allocations: 57.56 kB / 0.527 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007119/0.3084, allocations: 1.01 MB / 0.528 GB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3084, allocations: 3.938 kB / 0.528 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.3084, allocations: 25 kB / 0.528 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.3085, allocations: 38.38 kB / 0.5281 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.309, allocations: 306.5 kB / 0.5284 GB, free: 7.707 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.002337/0.3113, allocations: 3.876 MB / 0.5321 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.3116, allocations: 216.6 kB / 0.5324 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3117, allocations: 84.67 kB / 0.5324 GB, free: 4.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.937e-05/0.3118, allocations: 18.48 kB / 0.5324 GB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3118, allocations: 43.11 kB / 0.5325 GB, free: 4.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.3118, allocations: 0 / 0.5325 GB, free: 4.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002728/0.3146, allocations: 1.165 MB / 0.5336 GB, free: 3.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.3146, allocations: 134 kB / 0.5338 GB, free: 3.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.3149, allocations: 0.5495 MB / 0.5343 GB, free: 3.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.315, allocations: 36.11 kB / 0.5343 GB, free: 3.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3151, allocations: 430.8 kB / 0.5347 GB, free: 2.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.3152, allocations: 150.9 kB / 0.5349 GB, free: 2.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3153, allocations: 159.3 kB / 0.535 GB, free: 2.605 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.3154, allocations: 0.546 MB / 0.5356 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.3155, allocations: 95.66 kB / 0.5357 GB, free: 2.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.3158, allocations: 0.6191 MB / 0.5363 GB, free: 1.352 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.3163, allocations: 0.6625 MB / 0.5369 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3163, allocations: 4.75 kB / 0.5369 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007286/0.317, allocations: 0.6552 MB / 0.5376 GB, free: 444 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.317, allocations: 9.031 kB / 0.5376 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.317, allocations: 15.97 kB / 0.5376 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006726/0.3177, allocations: 246.5 kB / 0.5378 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.3179, allocations: 121.2 kB / 0.5379 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005916/0.3185, allocations: 1.001 MB / 0.5389 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.3188, allocations: 31.81 kB / 0.5389 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.3188, allocations: 58.42 kB / 0.539 GB, free: 15.51 MB / 426.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.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 (67): * Single equations (assignments): 66 * 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.0001738/0.319, allocations: 213.7 kB / 0.5392 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.3191, allocations: 76.58 kB / 0.5393 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.3199, allocations: 0.6852 MB / 0.5399 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3199, allocations: 5.719 kB / 0.5399 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3199, allocations: 0 / 0.5399 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3199, allocations: 2.578 kB / 0.5399 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.321, allocations: 0.9481 MB / 0.5409 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.321, allocations: 0 / 0.5409 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.3215, allocations: 193 kB / 0.5411 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.568e-05/0.3215, allocations: 25.25 kB / 0.5411 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.3216, allocations: 15.09 kB / 0.5411 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.3231, allocations: 3.554 MB / 0.5446 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3231, allocations: 3.281 kB / 0.5446 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.3237, allocations: 0.5988 MB / 0.5452 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.3239, allocations: 97.33 kB / 0.5452 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.3239, allocations: 10.33 kB / 0.5453 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.3241, allocations: 20.73 kB / 0.5453 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.3242, allocations: 45.31 kB / 0.5453 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.3242, allocations: 34.47 kB / 0.5454 GB, free: 10.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.3245, allocations: 344.3 kB / 0.5457 GB, free: 10.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3245, allocations: 0 / 0.5457 GB, free: 10.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006346/0.3251, allocations: 247.2 kB / 0.5459 GB, free: 10.12 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.0004465/0.3255, allocations: 262.7 kB / 0.5462 GB, free: 9.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005777/0.3261, allocations: 384.2 kB / 0.5465 GB, free: 9.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3261, allocations: 5.5 kB / 0.5465 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004825/0.3266, allocations: 390.8 kB / 0.5469 GB, free: 9.668 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008046/0.3274, allocations: 319.2 kB / 0.5472 GB, free: 9.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.3291, allocations: 1.15 MB / 0.5483 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.3293, allocations: 172.6 kB / 0.5485 GB, free: 8.719 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000603/0.3299, allocations: 421.4 kB / 0.5489 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.33, allocations: 94.98 kB / 0.549 GB, free: 8.484 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/0.33, allocations: 0 / 0.549 GB, free: 8.484 MB / 426.7 MB Notification: Performance of Templates: time 0.01772/0.3478, allocations: 14.9 MB / 0.5635 GB, free: 10.72 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.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.9340960192494094]