Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.001338/0.001338, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001589/0.001589, allocations: 212 kB / 24.47 MB, free: 3.547 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.465/1.465, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [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.002864/0.002864, allocations: 51.92 kB / 347.7 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2747, allocations: 49.16 MB / 396.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1713/0.446, allocations: 130 MB / 0.5145 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.4501, allocations: 2.734 MB / 0.5172 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.4502, allocations: 4 kB / 0.5172 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.4506, allocations: 55.67 kB / 0.5173 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.4533, allocations: 1.03 MB / 0.5183 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.4539, allocations: 203.5 kB / 0.5185 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004942/0.4544, allocations: 358.6 kB / 0.5188 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.768e-05/0.4545, allocations: 13.25 kB / 0.5188 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.4548, allocations: 151.5 kB / 0.519 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.455, allocations: 111.6 kB / 0.5191 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.455, allocations: 12 kB / 0.5191 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.4577, allocations: 1.285 MB / 0.5203 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.4578, allocations: 79.78 kB / 0.5204 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.4579, allocations: 91.7 kB / 0.5205 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.4595, allocations: 0.9604 MB / 0.5214 GB, free: 9.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4595, allocations: 0 / 0.5214 GB, free: 9.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4595, allocations: 0 / 0.5214 GB, free: 9.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.4595, allocations: 0 / 0.5214 GB, free: 9.641 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009469/0.4604, allocations: 489.2 kB / 0.5219 GB, free: 9.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4604, allocations: 11.98 kB / 0.5219 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.4618, allocations: 196.6 kB / 0.5221 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.4622, allocations: 190.3 kB / 0.5223 GB, free: 8.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.4622, allocations: 12.75 kB / 0.5223 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.4623, allocations: 27.89 kB / 0.5223 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.4631, allocations: 0.5774 MB / 0.5229 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4631, allocations: 3.938 kB / 0.5229 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.4631, allocations: 8 kB / 0.5229 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4631, allocations: 7.938 kB / 0.5229 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006097/0.4637, allocations: 407.8 kB / 0.5233 GB, free: 7.625 MB / 446.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.001696/0.4654, allocations: 0.7187 MB / 0.524 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.4658, allocations: 209.1 kB / 0.5242 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.466, allocations: 113.7 kB / 0.5243 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/0.4675, allocations: 301.6 kB / 0.5246 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.4676, allocations: 42.78 kB / 0.5246 GB, free: 6.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.4676, allocations: 0 / 0.5246 GB, free: 6.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001234/0.4688, allocations: 366 kB / 0.525 GB, free: 5.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.4688, allocations: 85.05 kB / 0.5251 GB, free: 5.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.469, allocations: 117.8 kB / 0.5252 GB, free: 5.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.469, allocations: 29.7 kB / 0.5252 GB, free: 5.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.4691, allocations: 112.5 kB / 0.5253 GB, free: 5.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-05/0.4692, allocations: 107.1 kB / 0.5254 GB, free: 5.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.4693, allocations: 65.97 kB / 0.5255 GB, free: 5.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4694, allocations: 326.8 kB / 0.5258 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.4696, allocations: 100.6 kB / 0.5259 GB, free: 4.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.4699, allocations: 179.6 kB / 0.526 GB, free: 4.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.4704, allocations: 306.7 kB / 0.5263 GB, free: 4.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4704, allocations: 3.984 kB / 0.5263 GB, free: 4.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000651/0.4711, allocations: 349.1 kB / 0.5267 GB, free: 3.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4711, allocations: 4 kB / 0.5267 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4711, allocations: 4 kB / 0.5267 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4711, allocations: 7.938 kB / 0.5267 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.4714, allocations: 71.91 kB / 0.5268 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.4715, allocations: 11.92 kB / 0.5268 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.4717, allocations: 20.2 kB / 0.5268 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.4717, allocations: 20 kB / 0.5268 GB, free: 3.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.4719, allocations: 141.8 kB / 0.5269 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.472, allocations: 19.84 kB / 0.527 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006848/0.4727, allocations: 326.4 kB / 0.5273 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4727, allocations: 4 kB / 0.5273 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4727, allocations: 0 / 0.5273 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4727, allocations: 3.984 kB / 0.5273 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.4732, allocations: 246.8 kB / 0.5275 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4732, allocations: 0 / 0.5275 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.4736, allocations: 55.84 kB / 0.5276 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4736, allocations: 4 kB / 0.5276 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.4736, allocations: 12 kB / 0.5276 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4736, allocations: 3.984 kB / 0.5276 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4736, allocations: 0 / 0.5276 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007957/0.4744, allocations: 0.514 MB / 0.5281 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.4744, allocations: 15.88 kB / 0.5281 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.4745, allocations: 8.062 kB / 0.5281 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.4748, allocations: 15.97 kB / 0.5281 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.4748, allocations: 23.97 kB / 0.5281 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.4749, allocations: 15.98 kB / 0.5282 GB, free: 2.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.099e-05/0.4749, allocations: 87.28 kB / 0.5282 GB, free: 2.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4749, allocations: 4 kB / 0.5283 GB, free: 2.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007644/0.4757, allocations: 227.4 kB / 0.5285 GB, free: 2.039 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.4767, allocations: 430.2 kB / 0.5289 GB, free: 1.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.4772, allocations: 243.8 kB / 0.5291 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4772, allocations: 4 kB / 0.5291 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.4775, allocations: 127.8 kB / 0.5292 GB, free: 1.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.4781, allocations: 85.61 kB / 0.5293 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.4793, allocations: 0.7276 MB / 0.53 GB, free: 408 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.4795, allocations: 119.6 kB / 0.5301 GB, free: 272 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000312/0.4798, allocations: 77.81 kB / 0.5302 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4799, allocations: 39.38 kB / 0.5303 GB, free: 152 kB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4799, allocations: 0 / 0.5303 GB, free: 152 kB / 446.1 MB Notification: Performance of Templates: time 0.01577/0.4956, allocations: 8.644 MB / 0.5387 GB, free: 7.488 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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: 5.182105142623186]