Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001719, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 64.77 kB / 306.4 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07962/0.08077, allocations: 50.53 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2895/0.3703, allocations: 153.3 MB / 0.4983 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004046/0.3743, allocations: 4.017 MB / 0.5022 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.3745, allocations: 4 kB / 0.5022 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.3749, allocations: 91.58 kB / 0.5023 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.3771, allocations: 1.115 MB / 0.5034 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008446/0.3779, allocations: 362.9 kB / 0.5037 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.3785, allocations: 458.8 kB / 0.5042 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3785, allocations: 13.55 kB / 0.5042 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.3789, allocations: 247.1 kB / 0.5044 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.3791, allocations: 163.5 kB / 0.5046 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.3792, allocations: 20 kB / 0.5046 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/0.3826, allocations: 2.353 MB / 0.5069 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3827, allocations: 135.7 kB / 0.507 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.3829, allocations: 163.4 kB / 0.5072 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.3849, allocations: 1.707 MB / 0.5089 GB, free: 7.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.385, allocations: 3.938 kB / 0.5089 GB, free: 7.598 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.385, allocations: 4 kB / 0.5089 GB, free: 7.594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.385, allocations: 0 / 0.5089 GB, free: 7.594 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002052/0.387, allocations: 0.769 MB / 0.5096 GB, free: 6.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3871, allocations: 8.031 kB / 0.5096 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.3895, allocations: 268.3 kB / 0.5099 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.3899, allocations: 295.4 kB / 0.5102 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3899, allocations: 16.56 kB / 0.5102 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.39, allocations: 31.98 kB / 0.5102 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.3914, allocations: 0.6744 MB / 0.5109 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3914, allocations: 0 / 0.5109 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.3915, allocations: 12 kB / 0.5109 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.3915, allocations: 16.44 kB / 0.5109 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.3932, allocations: 0.7629 MB / 0.5116 GB, free: 4.648 MB / 430.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.003889/0.3971, allocations: 1.822 MB / 0.5134 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.3984, allocations: 475.4 kB / 0.5139 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/0.3991, allocations: 240.8 kB / 0.5141 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002287/0.4014, allocations: 1.364 MB / 0.5154 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4014, allocations: 34.75 kB / 0.5155 GB, free: 396 kB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/0.4014, allocations: 0 / 0.5155 GB, free: 396 kB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.0142/0.4157, allocations: 3.727 MB / 0.5191 GB, free: 12.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.4157, allocations: 81.11 kB / 0.5192 GB, free: 12.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.4159, allocations: 173.1 kB / 0.5194 GB, free: 12.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.4159, allocations: 41.7 kB / 0.5194 GB, free: 12.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.416, allocations: 176.1 kB / 0.5196 GB, free: 11.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.4162, allocations: 177.5 kB / 0.5197 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.4164, allocations: 114.2 kB / 0.5198 GB, free: 11.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4166, allocations: 342.8 kB / 0.5202 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007765/0.4173, allocations: 265.1 kB / 0.5204 GB, free: 11.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008734/0.4182, allocations: 427.9 kB / 0.5208 GB, free: 10.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.4199, allocations: 0.6967 MB / 0.5215 GB, free: 9.836 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4199, allocations: 4 kB / 0.5215 GB, free: 9.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001994/0.4219, allocations: 0.787 MB / 0.5223 GB, free: 9.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4219, allocations: 8 kB / 0.5223 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4219, allocations: 4 kB / 0.5223 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.4221, allocations: 53.69 kB / 0.5223 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.4233, allocations: 183.9 kB / 0.5225 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006335/0.424, allocations: 1.077 MB / 0.5236 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.4248, allocations: 48.05 kB / 0.5236 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.4249, allocations: 39.98 kB / 0.5237 GB, free: 7.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.4251, allocations: 177.6 kB / 0.5238 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.4252, allocations: 27.72 kB / 0.5238 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.4276, allocations: 0.7827 MB / 0.5246 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4276, allocations: 4 kB / 0.5246 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.4276, allocations: 4 kB / 0.5246 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4276, allocations: 3.984 kB / 0.5246 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.431, allocations: 1.555 MB / 0.5261 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.431, allocations: 4 kB / 0.5261 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.4321, allocations: 147.8 kB / 0.5263 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.4323, allocations: 49.81 kB / 0.5263 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.4324, allocations: 31.91 kB / 0.5264 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.4341, allocations: 2.726 MB / 0.529 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4341, allocations: 4 kB / 0.529 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.4367, allocations: 1.079 MB / 0.5301 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.4368, allocations: 96.83 kB / 0.5302 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/0.4369, allocations: 16 kB / 0.5302 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/0.4378, allocations: 44 kB / 0.5302 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.4378, allocations: 39.89 kB / 0.5303 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.4379, allocations: 31.97 kB / 0.5303 GB, free: 304 kB / 446.1 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.438, allocations: 128.4 kB / 0.5304 GB, free: 176 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.438, allocations: 4 kB / 0.5304 GB, free: 172 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.1418/0.5799, allocations: 396.7 kB / 0.5308 GB, free: 161 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.002801/0.5827, allocations: 0.8641 MB / 0.5316 GB, free: 160.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.5847, allocations: 0.6867 MB / 0.5323 GB, free: 160.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5847, allocations: 0 / 0.5323 GB, free: 160.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.5858, allocations: 0.5323 MB / 0.5328 GB, free: 160.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007756/0.5866, allocations: 96.56 kB / 0.5329 GB, free: 160.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.5885, allocations: 1.129 MB / 0.534 GB, free: 160.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.5888, allocations: 0.787 MB / 0.5348 GB, free: 159.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001171/0.5899, allocations: 190.6 kB / 0.535 GB, free: 159.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.5903, allocations: 65.52 kB / 0.535 GB, free: 159.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5903, allocations: 1.375 kB / 0.535 GB, free: 159.3 MB / 446.1 MB Notification: Performance of Templates: time 0.02193/0.6122, allocations: 16.05 MB / 0.5507 GB, free: 153.8 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches