Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=500,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001487, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001439, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.237/0.237, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003621/0.003621, allocations: 84.14 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4615, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2438/0.7054, allocations: 177.3 MB / 0.7042 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008543/0.714, allocations: 5.339 MB / 0.7095 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009078/0.715, allocations: 19.88 kB / 0.7095 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.7161, allocations: 318 kB / 0.7098 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.7202, allocations: 1.251 MB / 0.711 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.7231, allocations: 0.9682 MB / 0.7119 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.7261, allocations: 1.852 MB / 0.7138 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007917/0.7269, allocations: 465.4 kB / 0.7142 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.7297, allocations: 1.078 MB / 0.7153 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.7309, allocations: 0.6539 MB / 0.7159 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.7311, allocations: 60 kB / 0.7159 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.7329, allocations: 0.6311 MB / 0.7166 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.7333, allocations: 263.3 kB / 0.7168 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.7338, allocations: 402.2 kB / 0.7172 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.7362, allocations: 1.3 MB / 0.7185 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7362, allocations: 0 / 0.7185 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7362, allocations: 0 / 0.7185 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.7362, allocations: 0 / 0.7185 GB, free: 1.137 MB / 0.5606 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.3443/1.08, allocations: 1.124 MB / 0.7196 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/1.081, allocations: 8.969 kB / 0.7196 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/1.082, allocations: 143.7 kB / 0.7197 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.083, allocations: 0.5305 MB / 0.7202 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/1.083, allocations: 101.9 kB / 0.7203 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.083, allocations: 56.27 kB / 0.7204 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/1.085, allocations: 0.8193 MB / 0.7212 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/1.085, allocations: 1.781 kB / 0.7212 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/1.085, allocations: 20.67 kB / 0.7212 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.635e-05/1.085, allocations: 39.27 kB / 0.7212 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/1.086, allocations: 0.6216 MB / 0.7218 GB, free: 185.3 MB / 0.5606 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.003611/1.09, allocations: 3.936 MB / 0.7257 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/1.09, allocations: 365.2 kB / 0.726 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/1.091, allocations: 166.6 kB / 0.7262 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/1.091, allocations: 92.41 kB / 0.7263 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/1.091, allocations: 38.5 kB / 0.7263 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.305e-06/1.091, allocations: 2.625 kB / 0.7263 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005278/1.096, allocations: 1.7 MB / 0.728 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/1.096, allocations: 133.7 kB / 0.7281 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/1.097, allocations: 0.6148 MB / 0.7287 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/1.097, allocations: 33.17 kB / 0.7287 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/1.097, allocations: 375 kB / 0.7291 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/1.097, allocations: 150.3 kB / 0.7292 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/1.097, allocations: 168 kB / 0.7294 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.098, allocations: 374.6 kB / 0.7298 GB, free: 179 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/1.098, allocations: 201.1 kB / 0.73 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/1.099, allocations: 0.514 MB / 0.7305 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.1, allocations: 0.7487 MB / 0.7312 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.1, allocations: 5.969 kB / 0.7312 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001732/1.101, allocations: 0.8882 MB / 0.7321 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.101, allocations: 9.5 kB / 0.7321 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.102, allocations: 10.28 kB / 0.7321 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/1.103, allocations: 316.1 kB / 0.7324 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/1.104, allocations: 121.2 kB / 0.7325 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/1.105, allocations: 0.9377 MB / 0.7334 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/1.106, allocations: 27.28 kB / 0.7334 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/1.106, allocations: 65.55 kB / 0.7335 GB, free: 176.4 MB / 0.5606 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.0004765/1.106, allocations: 248.2 kB / 0.7337 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/1.107, allocations: 73.58 kB / 0.7338 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/1.108, allocations: 0.8684 MB / 0.7347 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.108, allocations: 3.969 kB / 0.7347 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/1.108, allocations: 4 kB / 0.7347 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.108, allocations: 4 kB / 0.7347 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/1.11, allocations: 1.455 MB / 0.7361 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.11, allocations: 4.125 kB / 0.7361 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.111, allocations: 211.6 kB / 0.7363 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.008e-05/1.112, allocations: 28.02 kB / 0.7363 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/1.112, allocations: 18.62 kB / 0.7363 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/1.113, allocations: 2.869 MB / 0.7391 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.113, allocations: 8.062 kB / 0.7391 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.114, allocations: 0.8208 MB / 0.7399 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/1.114, allocations: 196.5 kB / 0.7401 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.115, allocations: 19.94 kB / 0.7402 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/1.115, allocations: 15.98 kB / 0.7402 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.115, allocations: 35.95 kB / 0.7402 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/1.115, allocations: 47.92 kB / 0.7403 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004684/1.116, allocations: 439 kB / 0.7407 GB, free: 170 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.116, allocations: 4.062 kB / 0.7407 GB, free: 170 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009221/1.117, allocations: 251.8 kB / 0.7409 GB, free: 169.8 MB / 0.5606 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.0008177/1.117, allocations: 293 kB / 0.7412 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001095/1.119, allocations: 0.5564 MB / 0.7417 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.119, allocations: 5.219 kB / 0.7417 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009027/1.119, allocations: 424.3 kB / 0.7421 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.121, allocations: 364.1 kB / 0.7425 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/1.123, allocations: 1.365 MB / 0.7438 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/1.124, allocations: 0.9339 MB / 0.7447 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009357/1.124, allocations: 466.4 kB / 0.7452 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/1.125, allocations: 107.4 kB / 0.7453 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.125, allocations: 0 / 0.7453 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02644/1.151, allocations: 17.63 MB / 0.7625 GB, free: 147.7 MB / 0.5606 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches