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.000946/0.000946, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005374/0.005374, allocations: 160.9 kB / 24.7 MB, free: 9.441 MB / 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.9464/0.9464, allocations: 177 MB / 204.9 MB, free: 5.711 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.2799/0.2799, allocations: 34.24 MB / 295.6 MB, free: 0.6719 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.733e-06/1.733e-06, allocations: 0 / 443.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.624e-05, allocations: 2.281 kB / 443.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3638/0.3638, allocations: 153.8 MB / 0.5832 GB, free: 6.254 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005411/0.3692, allocations: 4.929 MB / 0.5881 GB, free: 1.316 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.3697, allocations: 23.75 kB / 0.5881 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006802/0.3704, allocations: 309.9 kB / 0.5884 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.373, allocations: 1.318 MB / 0.5897 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.375, allocations: 1.014 MB / 0.5907 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.3767, allocations: 1.879 MB / 0.5925 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.3773, allocations: 401.5 kB / 0.5929 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.3794, allocations: 1.343 MB / 0.5942 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008851/0.3803, allocations: 0.6428 MB / 0.5948 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3804, allocations: 60 kB / 0.5949 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.3814, allocations: 0.5576 MB / 0.5954 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.3816, allocations: 283.1 kB / 0.5957 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.3819, allocations: 283.3 kB / 0.596 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.3833, allocations: 1.393 MB / 0.5973 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3833, allocations: 0 / 0.5973 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3833, allocations: 0 / 0.5973 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.3833, allocations: 0 / 0.5973 GB, free: 7.82 MB / 0.4948 GB 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.002333/0.3856, allocations: 1.034 MB / 0.5983 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3857, allocations: 12.03 kB / 0.5983 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000486/0.3862, allocations: 135.5 kB / 0.5985 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.3869, allocations: 481.4 kB / 0.5989 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.387, allocations: 155.8 kB / 0.5991 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.3871, allocations: 47.98 kB / 0.5991 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3881, allocations: 1.15 MB / 0.6002 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3881, allocations: 0 / 0.6002 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.3881, allocations: 24 kB / 0.6003 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.3882, allocations: 40.92 kB / 0.6003 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.3889, allocations: 0.6166 MB / 0.6009 GB, free: 3.906 MB / 0.4948 GB 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.002726/0.3916, allocations: 3.226 MB / 0.6041 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.392, allocations: 340.9 kB / 0.6044 GB, free: 248 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007953/0.3928, allocations: 161.3 kB / 0.6045 GB, free: 84 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.363e-05/0.3929, allocations: 13.67 kB / 0.6045 GB, free: 72 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3929, allocations: 42.78 kB / 0.6046 GB, free: 20 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.3929, allocations: 0 / 0.6046 GB, free: 20 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.00323/0.3961, allocations: 1.594 MB / 0.6061 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.3962, allocations: 136.5 kB / 0.6063 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.3967, allocations: 0.5338 MB / 0.6068 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.3967, allocations: 37.7 kB / 0.6068 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.3969, allocations: 380.2 kB / 0.6072 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.397, allocations: 146.7 kB / 0.6073 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.3971, allocations: 158.6 kB / 0.6075 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3973, allocations: 366.7 kB / 0.6078 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.3975, allocations: 209.9 kB / 0.608 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.3979, allocations: 0.588 MB / 0.6086 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.3986, allocations: 0.7553 MB / 0.6093 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3986, allocations: 4 kB / 0.6094 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009414/0.3995, allocations: 0.872 MB / 0.6102 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3996, allocations: 8 kB / 0.6102 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3996, allocations: 12.84 kB / 0.6102 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000795/0.4004, allocations: 311.3 kB / 0.6105 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.4006, allocations: 131.1 kB / 0.6106 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.4017, allocations: 0.927 MB / 0.6116 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.402, allocations: 27.98 kB / 0.6116 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.4021, allocations: 64 kB / 0.6116 GB, free: 8.344 MB / 0.5105 GB 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.0002868/0.4023, allocations: 249.5 kB / 0.6119 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.4024, allocations: 67.52 kB / 0.6119 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.4034, allocations: 0.8602 MB / 0.6128 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4034, allocations: 4 kB / 0.6128 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4035, allocations: 0 / 0.6128 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4035, allocations: 0 / 0.6128 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.4048, allocations: 1.091 MB / 0.6139 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4048, allocations: 4.031 kB / 0.6139 GB, free: 6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.4053, allocations: 207.8 kB / 0.6141 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.178e-05/0.4054, allocations: 24.84 kB / 0.6141 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.4054, allocations: 24.44 kB / 0.6141 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.4068, allocations: 2.62 MB / 0.6167 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4068, allocations: 3.938 kB / 0.6167 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008514/0.4076, allocations: 0.8071 MB / 0.6175 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.4078, allocations: 107.6 kB / 0.6176 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.4079, allocations: 15.94 kB / 0.6176 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.4081, allocations: 12 kB / 0.6176 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.4081, allocations: 43.88 kB / 0.6176 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.4082, allocations: 39.98 kB / 0.6177 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003325/0.4085, allocations: 362.8 kB / 0.618 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4085, allocations: 0 / 0.618 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001054/0.4096, allocations: 251.8 kB / 0.6182 GB, free: 1.266 MB / 0.5105 GB 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 (39): * Single equations (assignments): 37 * 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.0005188/0.4101, allocations: 299.9 kB / 0.6185 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000829/0.4109, allocations: 0.5276 MB / 0.619 GB, free: 452 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.4109, allocations: 7.891 kB / 0.6191 GB, free: 444 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.4115, allocations: 395.9 kB / 0.6194 GB, free: 36 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008277/0.4123, allocations: 311.4 kB / 0.6197 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.4139, allocations: 1.283 MB / 0.621 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.4141, allocations: 332.3 kB / 0.6213 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.4143, allocations: 124.4 kB / 0.6214 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/0.4143, allocations: 4 kB / 0.6214 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of Templates: time 0.2039/0.6183, allocations: 16.12 MB / 0.6372 GB, free: 165.5 MB / 0.5261 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.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: 7.327694160863757]