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.00107/0.00107, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001016/0.001016, allocations: 190.1 kB / 19.34 MB, free: 3.777 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.282/1.282, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001191/0.001191, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07031/0.07151, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2926/0.3641, allocations: 151.2 MB / 0.5147 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.3674, allocations: 3.038 MB / 0.5176 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.3675, allocations: 4 kB / 0.5176 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.3678, allocations: 55.66 kB / 0.5177 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.3697, allocations: 1.015 MB / 0.5187 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.3701, allocations: 200.1 kB / 0.5189 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.3705, allocations: 350.7 kB / 0.5192 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.3705, allocations: 13.08 kB / 0.5192 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.3707, allocations: 155.4 kB / 0.5194 GB, free: 3.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.3709, allocations: 111.6 kB / 0.5195 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.3709, allocations: 16 kB / 0.5195 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.3733, allocations: 1.453 MB / 0.5209 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.3734, allocations: 79.77 kB / 0.521 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3735, allocations: 103.6 kB / 0.5211 GB, free: 1.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.3747, allocations: 0.9955 MB / 0.5221 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3747, allocations: 0 / 0.5221 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3748, allocations: 0 / 0.5221 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3748, allocations: 0 / 0.5221 GB, free: 0.5117 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.0007383/0.3755, allocations: 0.5312 MB / 0.5226 GB, free: 15.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3755, allocations: 8.031 kB / 0.5226 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.3769, allocations: 204.5 kB / 0.5228 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3772, allocations: 248.1 kB / 0.523 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3772, allocations: 12.94 kB / 0.523 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.3772, allocations: 31.78 kB / 0.5231 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.3778, allocations: 373.4 kB / 0.5234 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3778, allocations: 4 kB / 0.5234 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.3779, allocations: 8 kB / 0.5234 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3779, allocations: 11.98 kB / 0.5234 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005577/0.3785, allocations: 407.7 kB / 0.5238 GB, free: 14.61 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.001544/0.38, allocations: 0.8124 MB / 0.5246 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.3804, allocations: 217.1 kB / 0.5248 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.3806, allocations: 121.6 kB / 0.5249 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/0.3822, allocations: 0.8969 MB / 0.5258 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3822, allocations: 42.56 kB / 0.5259 GB, free: 12.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.3822, allocations: 0 / 0.5259 GB, free: 12.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001149/0.3834, allocations: 357.6 kB / 0.5262 GB, free: 11.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.3834, allocations: 77.11 kB / 0.5263 GB, free: 11.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.3835, allocations: 113.8 kB / 0.5264 GB, free: 11.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.3836, allocations: 37.64 kB / 0.5264 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.3836, allocations: 108.4 kB / 0.5265 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.3837, allocations: 110.5 kB / 0.5266 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.3838, allocations: 61.94 kB / 0.5267 GB, free: 11.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.3839, allocations: 326.8 kB / 0.527 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3841, allocations: 96.59 kB / 0.5271 GB, free: 10.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.3843, allocations: 187.5 kB / 0.5273 GB, free: 10.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.3848, allocations: 300.2 kB / 0.5276 GB, free: 10.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3848, allocations: 4 kB / 0.5276 GB, free: 10.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000609/0.3854, allocations: 345.8 kB / 0.5279 GB, free: 10.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3854, allocations: 4 kB / 0.5279 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3855, allocations: 7.938 kB / 0.5279 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3855, allocations: 4 kB / 0.5279 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.3858, allocations: 75.83 kB / 0.528 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3858, allocations: 6.734 kB / 0.528 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.386, allocations: 32 kB / 0.528 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.3861, allocations: 23.98 kB / 0.528 GB, free: 9.926 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.0001236/0.3862, allocations: 137.7 kB / 0.5282 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3863, allocations: 23.75 kB / 0.5282 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/0.387, allocations: 322.9 kB / 0.5285 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.387, allocations: 3.984 kB / 0.5285 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.387, allocations: 0 / 0.5285 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.3871, allocations: 92.95 kB / 0.5286 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3871, allocations: 4 kB / 0.5286 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.3874, allocations: 15.98 kB / 0.5286 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.3875, allocations: 27.91 kB / 0.5286 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007145/0.3882, allocations: 416.8 kB / 0.529 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007387/0.389, allocations: 0.5607 MB / 0.5296 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001895/0.3892, allocations: 84 kB / 0.5297 GB, free: 8.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.3892, allocations: 91.27 kB / 0.5297 GB, free: 8.102 MB / 462.1 MB Notification: Performance of Backend: time 2.21e-07/0.3892, allocations: 0 / 0.5297 GB, free: 8.102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.3908, allocations: 0.5836 MB / 0.5303 GB, free: 7.512 MB / 462.1 MB Notification: Performance of SimCode: time 0.001091/0.3919, allocations: 1.134 MB / 0.5314 GB, free: 6.344 MB / 462.1 MB Notification: Performance of Templates: time 0.01317/0.4051, allocations: 8.792 MB / 0.54 GB, free: 13.55 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/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