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.001529/0.001529, allocations: 95.5 kB / 21.2 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.001273/0.001273, allocations: 160.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.01/1.01, allocations: 177 MB / 204.8 MB, free: 5.559 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.2989/0.2989, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.372e-06/1.372e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.577e-05, allocations: 3.016 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2839/0.2839, allocations: 148.7 MB / 0.5152 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.2874, allocations: 2.582 MB / 0.5177 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.2879, allocations: 26.81 kB / 0.5177 GB, free: 13.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.2884, allocations: 225 kB / 0.5179 GB, free: 12.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.2904, allocations: 1.085 MB / 0.519 GB, free: 12.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.2917, allocations: 0.841 MB / 0.5198 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.2933, allocations: 1.902 MB / 0.5217 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005915/0.2939, allocations: 415.8 kB / 0.5221 GB, free: 10.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.2951, allocations: 1.053 MB / 0.5231 GB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007898/0.2959, allocations: 0.635 MB / 0.5237 GB, free: 10.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2961, allocations: 60.16 kB / 0.5238 GB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006924/0.2968, allocations: 458.1 kB / 0.5242 GB, free: 10.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.2969, allocations: 285.2 kB / 0.5245 GB, free: 9.926 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.2972, allocations: 285.4 kB / 0.5247 GB, free: 9.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.2982, allocations: 0.9964 MB / 0.5257 GB, free: 9.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2982, allocations: 0 / 0.5257 GB, free: 9.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2982, allocations: 4 kB / 0.5257 GB, free: 9.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2982, allocations: 0 / 0.5257 GB, free: 9.43 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.001391/0.2996, allocations: 1.141 MB / 0.5268 GB, free: 8.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2996, allocations: 11.47 kB / 0.5268 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/0.3002, allocations: 221.3 kB / 0.5271 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.3007, allocations: 485.7 kB / 0.5275 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.605e-05/0.3008, allocations: 156.2 kB / 0.5277 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.3009, allocations: 56.94 kB / 0.5277 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.3016, allocations: 1.012 MB / 0.5287 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3016, allocations: 0 / 0.5287 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.3016, allocations: 24.16 kB / 0.5287 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.3017, allocations: 40.55 kB / 0.5288 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.3021, allocations: 317.5 kB / 0.5291 GB, free: 7.148 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.002176/0.3043, allocations: 3.874 MB / 0.5329 GB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3046, allocations: 215.8 kB / 0.5331 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3047, allocations: 86.8 kB / 0.5331 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.3048, allocations: 17.64 kB / 0.5332 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3048, allocations: 45.97 kB / 0.5332 GB, free: 3.684 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.3048, allocations: 0 / 0.5332 GB, free: 3.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002734/0.3075, allocations: 1.164 MB / 0.5343 GB, free: 3.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3076, allocations: 133.9 kB / 0.5345 GB, free: 2.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.3079, allocations: 0.538 MB / 0.535 GB, free: 2.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.308, allocations: 36.33 kB / 0.535 GB, free: 2.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3081, allocations: 437.5 kB / 0.5354 GB, free: 2.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.3082, allocations: 154.2 kB / 0.5356 GB, free: 2.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.3083, allocations: 159.5 kB / 0.5357 GB, free: 2.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.3084, allocations: 0.5487 MB / 0.5363 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3085, allocations: 91.03 kB / 0.5364 GB, free: 1.504 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.3088, allocations: 0.6145 MB / 0.537 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.3092, allocations: 0.6676 MB / 0.5376 GB, free: 136 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3092, allocations: 5.625 kB / 0.5376 GB, free: 136 kB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007724/0.31, allocations: 0.6479 MB / 0.5383 GB, free: 15.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.31, allocations: 8.312 kB / 0.5383 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.31, allocations: 15.69 kB / 0.5383 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.3107, allocations: 243.8 kB / 0.5385 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.311, allocations: 124.6 kB / 0.5386 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006431/0.3116, allocations: 1.002 MB / 0.5396 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.3119, allocations: 28.98 kB / 0.5396 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.3119, allocations: 64.75 kB / 0.5397 GB, free: 14.96 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.0001935/0.3121, allocations: 206.6 kB / 0.5399 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.73e-05/0.3122, allocations: 83.61 kB / 0.54 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007996/0.313, allocations: 0.6809 MB / 0.5406 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.313, allocations: 2.938 kB / 0.5406 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.313, allocations: 0 / 0.5406 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.313, allocations: 4.781 kB / 0.5406 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.3141, allocations: 0.9423 MB / 0.5416 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3141, allocations: 2.578 kB / 0.5416 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.3146, allocations: 194.6 kB / 0.5418 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.099e-05/0.3147, allocations: 24.14 kB / 0.5418 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.3147, allocations: 19.78 kB / 0.5418 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.3161, allocations: 3.554 MB / 0.5453 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3161, allocations: 4.188 kB / 0.5453 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.3168, allocations: 0.6051 MB / 0.5459 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.3169, allocations: 95.48 kB / 0.546 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.317, allocations: 13.78 kB / 0.546 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3171, allocations: 18.14 kB / 0.546 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.3172, allocations: 38.89 kB / 0.546 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.3172, allocations: 37.56 kB / 0.5461 GB, free: 9.773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.3175, allocations: 342 kB / 0.5464 GB, free: 9.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3175, allocations: 4.031 kB / 0.5464 GB, free: 9.598 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006132/0.3181, allocations: 246.3 kB / 0.5466 GB, free: 9.566 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.0004484/0.3186, allocations: 255.5 kB / 0.5469 GB, free: 9.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006095/0.3192, allocations: 385 kB / 0.5472 GB, free: 9.332 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3192, allocations: 0 / 0.5472 GB, free: 9.332 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.3197, allocations: 393.7 kB / 0.5476 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.3204, allocations: 320.6 kB / 0.5479 GB, free: 9.031 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.3221, allocations: 1.144 MB / 0.549 GB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.713e-05/0.3222, allocations: 169.4 kB / 0.5492 GB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005557/0.3227, allocations: 417.5 kB / 0.5496 GB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.3229, allocations: 95.64 kB / 0.5497 GB, free: 7.875 MB / 426.7 MB Notification: Performance of SimCode: time 1.203e-06/0.3229, allocations: 2.688 kB / 0.5497 GB, free: 7.875 MB / 426.7 MB Notification: Performance of Templates: time 0.01724/0.3402, allocations: 14.91 MB / 0.5642 GB, free: 9.871 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: 4.067658569198102]