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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 106.4 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 51.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07768/0.07886, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3934/0.4723, allocations: 151.2 MB / 0.514 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.4759, allocations: 3.038 MB / 0.517 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/0.476, allocations: 3.938 kB / 0.517 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.4764, allocations: 59.66 kB / 0.517 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.4786, allocations: 1.013 MB / 0.518 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.4791, allocations: 192.1 kB / 0.5182 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.4795, allocations: 358.7 kB / 0.5185 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.4796, allocations: 13.06 kB / 0.5185 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.4798, allocations: 155.4 kB / 0.5187 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.48, allocations: 107.7 kB / 0.5188 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.48, allocations: 12 kB / 0.5188 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.4826, allocations: 1.461 MB / 0.5202 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.4827, allocations: 79.7 kB / 0.5203 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.4829, allocations: 107.6 kB / 0.5204 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.4842, allocations: 0.9822 MB / 0.5214 GB, free: 404 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4842, allocations: 0 / 0.5214 GB, free: 404 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4842, allocations: 4 kB / 0.5214 GB, free: 400 kB / 446.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4842, allocations: 0 / 0.5214 GB, free: 400 kB / 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.0008476/0.4851, allocations: 0.5507 MB / 0.5219 GB, free: 15.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4851, allocations: 8.031 kB / 0.5219 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.4866, allocations: 200.5 kB / 0.5221 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.4869, allocations: 248.1 kB / 0.5223 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4869, allocations: 12.94 kB / 0.5224 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.487, allocations: 27.84 kB / 0.5224 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.4876, allocations: 381.4 kB / 0.5227 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4876, allocations: 0 / 0.5227 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.4877, allocations: 8 kB / 0.5228 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4877, allocations: 4 kB / 0.5228 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.4882, allocations: 415.7 kB / 0.5232 GB, free: 14.47 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.001621/0.4899, allocations: 0.8007 MB / 0.5239 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.4903, allocations: 229.1 kB / 0.5242 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.4905, allocations: 125.6 kB / 0.5243 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/0.4922, allocations: 0.8853 MB / 0.5251 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.4922, allocations: 42.5 kB / 0.5252 GB, free: 12.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 3.467e-06/0.4922, allocations: 4 kB / 0.5252 GB, free: 12.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001173/0.4934, allocations: 353.8 kB / 0.5255 GB, free: 11.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.4934, allocations: 89.05 kB / 0.5256 GB, free: 11.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.4935, allocations: 116.4 kB / 0.5257 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.4936, allocations: 29.7 kB / 0.5257 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.4936, allocations: 112.4 kB / 0.5259 GB, free: 11.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/0.4937, allocations: 110.5 kB / 0.526 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.4938, allocations: 65.94 kB / 0.526 GB, free: 11.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4939, allocations: 330.8 kB / 0.5263 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.4941, allocations: 92.61 kB / 0.5264 GB, free: 10.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.4944, allocations: 191.5 kB / 0.5266 GB, free: 10.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.4948, allocations: 296.3 kB / 0.5269 GB, free: 10.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4949, allocations: 0 / 0.5269 GB, free: 10.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005923/0.4955, allocations: 345.7 kB / 0.5272 GB, free: 9.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4955, allocations: 4 kB / 0.5272 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4955, allocations: 4 kB / 0.5272 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4955, allocations: 7.984 kB / 0.5272 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.4959, allocations: 67.91 kB / 0.5273 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4959, allocations: 7.938 kB / 0.5273 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.4961, allocations: 32.56 kB / 0.5273 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.4962, allocations: 16.27 kB / 0.5274 GB, free: 9.801 MB / 462.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.0001289/0.4963, allocations: 145.7 kB / 0.5275 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4964, allocations: 27.67 kB / 0.5275 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/0.4971, allocations: 320.7 kB / 0.5278 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4971, allocations: 7.984 kB / 0.5278 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4971, allocations: 0 / 0.5278 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4971, allocations: 0 / 0.5278 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.4977, allocations: 338 kB / 0.5282 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4977, allocations: 0 / 0.5282 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.498, allocations: 55.91 kB / 0.5282 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.498, allocations: 7.984 kB / 0.5282 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4981, allocations: 12 kB / 0.5282 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4981, allocations: 1.562 kB / 0.5282 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4981, allocations: 0 / 0.5282 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.4988, allocations: 0.5029 MB / 0.5287 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.4989, allocations: 92.89 kB / 0.5288 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.499, allocations: 11.98 kB / 0.5288 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.4993, allocations: 16 kB / 0.5288 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.4994, allocations: 19.97 kB / 0.5289 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.4994, allocations: 15.98 kB / 0.5289 GB, free: 8.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.4995, allocations: 91.27 kB / 0.529 GB, free: 8.062 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4995, allocations: 0 / 0.529 GB, free: 8.062 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007524/0.5002, allocations: 227.7 kB / 0.5292 GB, free: 7.84 MB / 462.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.0009722/0.5012, allocations: 430.7 kB / 0.5296 GB, free: 7.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.5017, allocations: 259.8 kB / 0.5298 GB, free: 7.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5017, allocations: 0.625 kB / 0.5298 GB, free: 7.156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.5019, allocations: 131.8 kB / 0.53 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.5026, allocations: 89.95 kB / 0.53 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.5038, allocations: 0.7082 MB / 0.5307 GB, free: 6.207 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.5041, allocations: 0.7361 MB / 0.5315 GB, free: 5.445 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.5045, allocations: 74.59 kB / 0.5315 GB, free: 5.371 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.5046, allocations: 27.44 kB / 0.5316 GB, free: 5.344 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5046, allocations: 4 kB / 0.5316 GB, free: 5.34 MB / 462.1 MB Notification: Performance of Templates: time 0.01315/0.5177, allocations: 8.346 MB / 0.5397 GB, free: 12.98 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (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) 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) Reference file matches