Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.000975/0.000975, allocations: 87.67 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.0009385/0.0009385, 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 0.965/0.965, allocations: 177 MB / 204.8 MB, free: 5.617 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.3044/0.3044, allocations: 34.86 MB / 296.3 MB, free: 0.5586 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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.834e-05, allocations: 6.25 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2948/0.2948, allocations: 148.7 MB / 0.5152 GB, free: 14.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.2987, allocations: 2.594 MB / 0.5177 GB, free: 13.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004773/0.2991, allocations: 27.12 kB / 0.5177 GB, free: 13.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.2997, allocations: 212.9 kB / 0.5179 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.3017, allocations: 1.095 MB / 0.519 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3031, allocations: 0.8308 MB / 0.5198 GB, free: 11.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.3046, allocations: 1.906 MB / 0.5217 GB, free: 11.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.3051, allocations: 418.9 kB / 0.5221 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.3064, allocations: 1.142 MB / 0.5232 GB, free: 10.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007149/0.3071, allocations: 0.5903 MB / 0.5238 GB, free: 10.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.3073, allocations: 60.12 kB / 0.5238 GB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007351/0.308, allocations: 448.6 kB / 0.5242 GB, free: 10.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.3082, allocations: 286.3 kB / 0.5245 GB, free: 9.969 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.3084, allocations: 285.4 kB / 0.5248 GB, free: 9.863 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3095, allocations: 0.9899 MB / 0.5258 GB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3095, allocations: 0 / 0.5258 GB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3095, allocations: 0 / 0.5258 GB, free: 9.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.3096, allocations: 7.938 kB / 0.5258 GB, free: 9.473 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.001578/0.3111, allocations: 1.124 MB / 0.5269 GB, free: 8.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3112, allocations: 15.28 kB / 0.5269 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005743/0.3118, allocations: 223.5 kB / 0.5271 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.3123, allocations: 0.4928 MB / 0.5276 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.3124, allocations: 151.4 kB / 0.5277 GB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.3125, allocations: 57.16 kB / 0.5278 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.3133, allocations: 0.9808 MB / 0.5287 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3133, allocations: 0 / 0.5287 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.3133, allocations: 27.97 kB / 0.5287 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-05/0.3134, allocations: 43.14 kB / 0.5288 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.3139, allocations: 307.2 kB / 0.5291 GB, free: 7.223 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.004286/0.3181, allocations: 3.867 MB / 0.5329 GB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.3186, allocations: 219.5 kB / 0.5331 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.3188, allocations: 84.11 kB / 0.5331 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.89e-05/0.3189, allocations: 21.75 kB / 0.5332 GB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3189, allocations: 43.45 kB / 0.5332 GB, free: 3.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.574e-06/0.3189, allocations: 0 / 0.5332 GB, free: 3.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.004027/0.3229, allocations: 1.162 MB / 0.5343 GB, free: 3.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.323, allocations: 135.4 kB / 0.5345 GB, free: 3.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.3236, allocations: 0.5586 MB / 0.535 GB, free: 2.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.3236, allocations: 32.42 kB / 0.5351 GB, free: 2.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.3238, allocations: 442.5 kB / 0.5355 GB, free: 2.309 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3239, allocations: 149.4 kB / 0.5356 GB, free: 2.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.3241, allocations: 163 kB / 0.5358 GB, free: 2.109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.3242, allocations: 0.5449 MB / 0.5363 GB, free: 1.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.3245, allocations: 96.03 kB / 0.5364 GB, free: 1.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.3249, allocations: 0.6486 MB / 0.537 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006909/0.3256, allocations: 0.6919 MB / 0.5377 GB, free: 132 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.3256, allocations: 7 kB / 0.5377 GB, free: 128 kB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00128/0.3268, allocations: 0.6665 MB / 0.5384 GB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.3269, allocations: 11.38 kB / 0.5384 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.3269, allocations: 11.53 kB / 0.5384 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.3279, allocations: 243.6 kB / 0.5386 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.3283, allocations: 135.5 kB / 0.5387 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009255/0.3292, allocations: 1.006 MB / 0.5397 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.3297, allocations: 31.62 kB / 0.5398 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/0.3298, allocations: 68.09 kB / 0.5398 GB, free: 14.93 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.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 (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.0002808/0.3301, allocations: 209.4 kB / 0.54 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3302, allocations: 75 kB / 0.5401 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.3315, allocations: 0.6888 MB / 0.5408 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.3315, allocations: 3.156 kB / 0.5408 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3315, allocations: 0 / 0.5408 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3315, allocations: 2.578 kB / 0.5408 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.3333, allocations: 0.9343 MB / 0.5417 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3333, allocations: 2.344 kB / 0.5417 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.3342, allocations: 194.2 kB / 0.5419 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.3343, allocations: 32.36 kB / 0.5419 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.3343, allocations: 18.64 kB / 0.5419 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.3368, allocations: 3.554 MB / 0.5454 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3368, allocations: 2.969 kB / 0.5454 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3378, allocations: 0.607 MB / 0.546 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.3381, allocations: 99.27 kB / 0.5461 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.3382, allocations: 8.938 kB / 0.5461 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.3385, allocations: 19.47 kB / 0.5461 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3386, allocations: 43.12 kB / 0.5462 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.3387, allocations: 41.7 kB / 0.5462 GB, free: 9.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004184/0.3391, allocations: 341.8 kB / 0.5465 GB, free: 9.574 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3391, allocations: 0 / 0.5465 GB, free: 9.574 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001151/0.3403, allocations: 251.3 kB / 0.5468 GB, free: 9.543 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.000719/0.341, allocations: 255.5 kB / 0.547 GB, free: 9.406 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001/0.342, allocations: 392.1 kB / 0.5474 GB, free: 9.305 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.342, allocations: 3.125 kB / 0.5474 GB, free: 9.305 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008115/0.3428, allocations: 396.7 kB / 0.5478 GB, free: 9.086 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.3441, allocations: 316.7 kB / 0.5481 GB, free: 8.988 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.3468, allocations: 1.157 MB / 0.5492 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.3469, allocations: 165.3 kB / 0.5493 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009639/0.3479, allocations: 424.2 kB / 0.5497 GB, free: 7.852 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.3482, allocations: 102.5 kB / 0.5498 GB, free: 7.816 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.3482, allocations: 0 / 0.5498 GB, free: 7.816 MB / 426.7 MB Notification: Performance of Templates: time 0.0276/0.3758, allocations: 16.37 MB / 0.5658 GB, free: 8.297 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.8812684058211744]