Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.00155/0.00155, allocations: 98.03 kB / 21.93 MB, free: 5.203 MB / 14.72 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.00171/0.00171, allocations: 203.2 kB / 25.22 MB, free: 3.145 MB / 14.72 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 1.508/1.508, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 51.92 kB / 348.5 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2923, allocations: 49.16 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.1938/0.4861, allocations: 149.4 MB / 0.5342 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.4904, allocations: 2.948 MB / 0.5371 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.4908, allocations: 11.94 kB / 0.5371 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008443/0.4917, allocations: 163 kB / 0.5373 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.4929, allocations: 417.5 kB / 0.5377 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.4939, allocations: 351.3 kB / 0.538 GB, free: 9.336 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.495, allocations: 0.907 MB / 0.5389 GB, free: 8.426 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.4953, allocations: 68.88 kB / 0.539 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.4973, allocations: 0.8132 MB / 0.5398 GB, free: 7.547 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.4979, allocations: 278.9 kB / 0.54 GB, free: 7.273 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.535e-05/0.498, allocations: 32 kB / 0.5401 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.4983, allocations: 115.9 kB / 0.5402 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.4985, allocations: 99.66 kB / 0.5403 GB, free: 7.031 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.4987, allocations: 163.4 kB / 0.5404 GB, free: 6.871 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007106/0.4994, allocations: 0.5165 MB / 0.5409 GB, free: 6.355 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4994, allocations: 0 / 0.5409 GB, free: 6.355 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4994, allocations: 0 / 0.5409 GB, free: 6.355 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.4994, allocations: 4 kB / 0.5409 GB, free: 6.352 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000929/0.5004, allocations: 0.5129 MB / 0.5414 GB, free: 5.809 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5004, allocations: 15.98 kB / 0.5415 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.5007, allocations: 43.8 kB / 0.5415 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.5012, allocations: 228.7 kB / 0.5417 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.5012, allocations: 24.5 kB / 0.5417 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.5013, allocations: 27.98 kB / 0.5418 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.5019, allocations: 0.5411 MB / 0.5423 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.5019, allocations: 0 / 0.5423 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.5019, allocations: 12 kB / 0.5423 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.502, allocations: 8 kB / 0.5423 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.5023, allocations: 201.6 kB / 0.5425 GB, free: 4.609 MB / 462.1 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.001772/0.5041, allocations: 1.148 MB / 0.5436 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.5044, allocations: 162.8 kB / 0.5438 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.5046, allocations: 89.14 kB / 0.5439 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.5046, allocations: 11.88 kB / 0.5439 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.5046, allocations: 42.55 kB / 0.5439 GB, free: 3.086 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.5046, allocations: 0 / 0.5439 GB, free: 3.086 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.00561/0.5102, allocations: 1.318 MB / 0.5452 GB, free: 1.707 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.5103, allocations: 51.41 kB / 0.5453 GB, free: 1.645 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.5106, allocations: 224 kB / 0.5455 GB, free: 1.418 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.5106, allocations: 33.7 kB / 0.5455 GB, free: 1.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.5108, allocations: 184.4 kB / 0.5457 GB, free: 1.195 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.937e-05/0.5109, allocations: 103.1 kB / 0.5458 GB, free: 1.094 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.511, allocations: 85.64 kB / 0.5459 GB, free: 1.004 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5112, allocations: 330.8 kB / 0.5462 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.5114, allocations: 91.95 kB / 0.5463 GB, free: 0.582 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.5116, allocations: 195.7 kB / 0.5464 GB, free: 356 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.5121, allocations: 303.8 kB / 0.5467 GB, free: 8 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5121, allocations: 3.938 kB / 0.5467 GB, free: 4 kB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007246/0.5128, allocations: 399.5 kB / 0.5471 GB, free: 15.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5128, allocations: 8.062 kB / 0.5471 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5129, allocations: 4 kB / 0.5471 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.5131, allocations: 73.67 kB / 0.5472 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.5135, allocations: 79.91 kB / 0.5473 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.5151, allocations: 1.832 MB / 0.5491 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.5153, allocations: 8 kB / 0.5491 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.5153, allocations: 43.98 kB / 0.5491 GB, free: 13.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.5155, allocations: 157.7 kB / 0.5493 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.5156, allocations: 27.81 kB / 0.5493 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000869/0.5165, allocations: 431.6 kB / 0.5497 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5165, allocations: 4 kB / 0.5497 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5165, allocations: 0 / 0.5497 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000589/0.5171, allocations: 0.5591 MB / 0.5503 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.5181, allocations: 0.6374 MB / 0.5509 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5181, allocations: 0 / 0.5509 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.5184, allocations: 71.89 kB / 0.5509 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.181e-05/0.5185, allocations: 20.84 kB / 0.551 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.5186, allocations: 16.06 kB / 0.551 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.5196, allocations: 1.264 MB / 0.5522 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5196, allocations: 0 / 0.5522 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.5203, allocations: 471.5 kB / 0.5527 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.5203, allocations: 27.88 kB / 0.5527 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.5204, allocations: 4.219 kB / 0.5527 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.5206, allocations: 19.88 kB / 0.5527 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.5207, allocations: 23.95 kB / 0.5527 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.5207, allocations: 35.92 kB / 0.5528 GB, free: 9.379 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.5209, allocations: 168.5 kB / 0.5529 GB, free: 9.215 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5209, allocations: 0 / 0.5529 GB, free: 9.215 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005365/0.5214, allocations: 123.9 kB / 0.553 GB, free: 9.094 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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): 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.0004069/0.5218, allocations: 147.1 kB / 0.5532 GB, free: 8.938 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.5225, allocations: 367.1 kB / 0.5535 GB, free: 8.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5225, allocations: 0 / 0.5535 GB, free: 8.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.5228, allocations: 218.5 kB / 0.5537 GB, free: 8.344 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.5237, allocations: 132.3 kB / 0.5539 GB, free: 8.215 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.525, allocations: 0.7445 MB / 0.5546 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.5251, allocations: 151.2 kB / 0.5547 GB, free: 7.262 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.5254, allocations: 79.41 kB / 0.5548 GB, free: 7.184 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5254, allocations: 0 / 0.5548 GB, free: 7.184 MB / 478.1 MB Notification: Performance of Templates: time 0.2086/0.734, allocations: 7.356 MB / 0.562 GB, free: 164.9 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.817298074252903]