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.002371/0.002371, allocations: 88.2 kB / 20.68 MB, free: 1.02 MB / 14.72 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.00253/0.00253, allocations: 158.7 kB / 23.95 MB, free: 4.152 MB / 14.72 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.549/1.549, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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.219/0.219, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.643e-06/1.643e-06, allocations: 0 / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.574e-05, allocations: 2.281 kB / 442.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3968/0.3969, allocations: 153.8 MB / 0.5825 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008006/0.4049, allocations: 4.91 MB / 0.5873 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006885/0.4056, allocations: 35.62 kB / 0.5874 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009664/0.4065, allocations: 298 kB / 0.5876 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.4101, allocations: 1.329 MB / 0.5889 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.4129, allocations: 1.013 MB / 0.5899 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.4153, allocations: 1.875 MB / 0.5918 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006335/0.416, allocations: 393.5 kB / 0.5921 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.4185, allocations: 1.347 MB / 0.5934 GB, free: 492 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.4196, allocations: 0.6428 MB / 0.5941 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.4197, allocations: 60 kB / 0.5941 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.421, allocations: 0.5499 MB / 0.5947 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.4214, allocations: 295.1 kB / 0.595 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.4217, allocations: 279.4 kB / 0.5952 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.4237, allocations: 1.387 MB / 0.5966 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4237, allocations: 0 / 0.5966 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4237, allocations: 0 / 0.5966 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.4237, allocations: 1.5 kB / 0.5966 GB, free: 13.27 MB / 0.4981 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.002794/0.4265, allocations: 1.034 MB / 0.5976 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.4265, allocations: 12.03 kB / 0.5976 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008817/0.4274, allocations: 139.5 kB / 0.5977 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/0.4283, allocations: 481.4 kB / 0.5982 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.4285, allocations: 155.7 kB / 0.5983 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.4286, allocations: 55.92 kB / 0.5984 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.4301, allocations: 1.144 MB / 0.5995 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.4302, allocations: 3.938 kB / 0.5995 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.4302, allocations: 24 kB / 0.5995 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/0.4303, allocations: 36.98 kB / 0.5996 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.4314, allocations: 0.6127 MB / 0.6002 GB, free: 9.355 MB / 0.4981 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.004601/0.436, allocations: 3.219 MB / 0.6033 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.4367, allocations: 343.6 kB / 0.6036 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.437, allocations: 159 kB / 0.6038 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.406e-05/0.4371, allocations: 20.27 kB / 0.6038 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.4371, allocations: 42.83 kB / 0.6038 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.4371, allocations: 0 / 0.6038 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006112/0.4432, allocations: 1.599 MB / 0.6054 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.4433, allocations: 132.5 kB / 0.6055 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.4441, allocations: 0.5338 MB / 0.6061 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.4441, allocations: 33.7 kB / 0.6061 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.4445, allocations: 384.2 kB / 0.6065 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.4446, allocations: 146.7 kB / 0.6066 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.4449, allocations: 158.6 kB / 0.6067 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4451, allocations: 366.7 kB / 0.6071 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.4454, allocations: 205.9 kB / 0.6073 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/0.4462, allocations: 0.588 MB / 0.6079 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.4473, allocations: 0.7516 MB / 0.6086 GB, free: 164 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.4474, allocations: 4 kB / 0.6086 GB, free: 160 kB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001718/0.4491, allocations: 0.8761 MB / 0.6095 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4491, allocations: 8 kB / 0.6095 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.4491, allocations: 12.88 kB / 0.6095 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.4506, allocations: 305.2 kB / 0.6098 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.451, allocations: 124.6 kB / 0.6099 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.4523, allocations: 0.9453 MB / 0.6108 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.4528, allocations: 23.98 kB / 0.6108 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4529, allocations: 68 kB / 0.6109 GB, free: 13.77 MB / 0.5137 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.0003877/0.4533, allocations: 237.6 kB / 0.6111 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4534, allocations: 67.58 kB / 0.6112 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.4551, allocations: 0.8685 MB / 0.612 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4551, allocations: 4 kB / 0.612 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4551, allocations: 0 / 0.612 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4551, allocations: 0 / 0.612 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.4572, allocations: 1.087 MB / 0.6131 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4572, allocations: 0 / 0.6131 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.4583, allocations: 219.6 kB / 0.6133 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.4584, allocations: 28.78 kB / 0.6133 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.4585, allocations: 20 kB / 0.6134 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.4607, allocations: 2.617 MB / 0.6159 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4607, allocations: 0 / 0.6159 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.4621, allocations: 0.8183 MB / 0.6167 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.4623, allocations: 99.58 kB / 0.6168 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.4624, allocations: 12.3 kB / 0.6168 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.4628, allocations: 27.88 kB / 0.6168 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4629, allocations: 39.94 kB / 0.6169 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.463, allocations: 43.97 kB / 0.6169 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004802/0.4635, allocations: 362.8 kB / 0.6173 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4635, allocations: 0 / 0.6173 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009262/0.4644, allocations: 255.7 kB / 0.6175 GB, free: 6.68 MB / 0.5137 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.000713/0.4651, allocations: 293.5 kB / 0.6178 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.4663, allocations: 0.5263 MB / 0.6183 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4663, allocations: 5.453 kB / 0.6183 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.4674, allocations: 410.7 kB / 0.6187 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.4689, allocations: 298 kB / 0.619 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.471, allocations: 1.246 MB / 0.6202 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.4714, allocations: 332.3 kB / 0.6205 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009603/0.4723, allocations: 453.4 kB / 0.621 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.4726, allocations: 104.5 kB / 0.6211 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.4726, allocations: 0 / 0.6211 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of Templates: time 0.02703/0.4997, allocations: 15.65 MB / 0.6363 GB, free: 3.523 MB / 0.5294 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: 6.1615643464028835]