Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.001027/0.001027, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.354/1.354, 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.001132/0.001132, allocations: 56.2 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07861/0.07975, allocations: 46.62 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3485/0.4283, allocations: 154.3 MB / 0.517 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003839/0.4321, allocations: 3.055 MB / 0.52 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.4323, allocations: 0 / 0.52 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.4328, allocations: 103.4 kB / 0.5201 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.4356, allocations: 1.176 MB / 0.5212 GB, free: 0.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.4366, allocations: 383.5 kB / 0.5216 GB, free: 172 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.4371, allocations: 458.9 kB / 0.522 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.4372, allocations: 9.562 kB / 0.522 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.4375, allocations: 230.7 kB / 0.5223 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.4378, allocations: 143.5 kB / 0.5224 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.4378, allocations: 16 kB / 0.5224 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003434/0.4413, allocations: 2.064 MB / 0.5244 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.4414, allocations: 135.7 kB / 0.5245 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.4416, allocations: 171.2 kB / 0.5247 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.4436, allocations: 1.524 MB / 0.5262 GB, free: 11.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4436, allocations: 0 / 0.5262 GB, free: 11.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4436, allocations: 7.938 kB / 0.5262 GB, free: 11.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4437, allocations: 0 / 0.5262 GB, free: 11.43 MB / 462.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.002055/0.4457, allocations: 0.769 MB / 0.527 GB, free: 10.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4458, allocations: 8.031 kB / 0.527 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000722/0.4465, allocations: 108.6 kB / 0.5271 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.4469, allocations: 287.6 kB / 0.5273 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.4469, allocations: 16.56 kB / 0.5274 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.447, allocations: 28 kB / 0.5274 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.4482, allocations: 0.5964 MB / 0.528 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4482, allocations: 7.938 kB / 0.528 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.4483, allocations: 12 kB / 0.528 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.4483, allocations: 24.42 kB / 0.528 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.4496, allocations: 0.634 MB / 0.5286 GB, free: 8.844 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.002984/0.4526, allocations: 1.283 MB / 0.5299 GB, free: 7.504 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.4536, allocations: 354 kB / 0.5302 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.4541, allocations: 176.3 kB / 0.5304 GB, free: 6.965 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002544/0.4566, allocations: 1.383 MB / 0.5317 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.4567, allocations: 46.5 kB / 0.5318 GB, free: 5.305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.4567, allocations: 0 / 0.5318 GB, free: 5.305 MB / 462.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.01557/0.4723, allocations: 3.472 MB / 0.5352 GB, free: 1.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.4723, allocations: 89.11 kB / 0.5353 GB, free: 1.527 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4725, allocations: 178.5 kB / 0.5354 GB, free: 1.344 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.4726, allocations: 37.7 kB / 0.5355 GB, free: 1.301 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4727, allocations: 176.1 kB / 0.5356 GB, free: 1.121 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.4728, allocations: 173.5 kB / 0.5358 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.4731, allocations: 118.2 kB / 0.5359 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4732, allocations: 334.8 kB / 0.5362 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007694/0.474, allocations: 273.1 kB / 0.5365 GB, free: 232 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008884/0.4749, allocations: 429.5 kB / 0.5369 GB, free: 15.74 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.4766, allocations: 0.7068 MB / 0.5376 GB, free: 14.97 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4766, allocations: 0 / 0.5376 GB, free: 14.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002015/0.4786, allocations: 0.7761 MB / 0.5384 GB, free: 14.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4786, allocations: 11.28 kB / 0.5384 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4786, allocations: 4 kB / 0.5384 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.4789, allocations: 58.25 kB / 0.5384 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.4801, allocations: 183.7 kB / 0.5386 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007283/0.4808, allocations: 1.081 MB / 0.5397 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007846/0.4816, allocations: 39.95 kB / 0.5397 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.4817, allocations: 35.98 kB / 0.5397 GB, free: 12.72 MB / 478.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.000257/0.482, allocations: 185.7 kB / 0.5399 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4821, allocations: 27.72 kB / 0.5399 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.4843, allocations: 0.7823 MB / 0.5407 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.4844, allocations: 8 kB / 0.5407 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4844, allocations: 0 / 0.5407 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.4844, allocations: 3.984 kB / 0.5407 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.4876, allocations: 1.55 MB / 0.5422 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4877, allocations: 4 kB / 0.5422 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.4888, allocations: 147.8 kB / 0.5424 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.4889, allocations: 41.62 kB / 0.5424 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.489, allocations: 27.92 kB / 0.5424 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.4907, allocations: 2.735 MB / 0.5451 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4907, allocations: 7.969 kB / 0.5451 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.4934, allocations: 1.069 MB / 0.5461 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.4934, allocations: 96.83 kB / 0.5462 GB, free: 5.578 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.4935, allocations: 20.03 kB / 0.5463 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008374/0.4944, allocations: 35.95 kB / 0.5463 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.4944, allocations: 52.7 kB / 0.5463 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.4945, allocations: 31.97 kB / 0.5464 GB, free: 5.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.4946, allocations: 124.4 kB / 0.5465 GB, free: 5.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4946, allocations: 0 / 0.5465 GB, free: 5.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001318/0.496, allocations: 387.8 kB / 0.5469 GB, free: 4.941 MB / 478.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.002157/0.4981, allocations: 0.8576 MB / 0.5477 GB, free: 4.074 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.5, allocations: 0.6519 MB / 0.5483 GB, free: 3.426 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5001, allocations: 0 / 0.5483 GB, free: 3.426 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.5012, allocations: 0.5377 MB / 0.5489 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.5019, allocations: 97.59 kB / 0.549 GB, free: 2.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.504, allocations: 0.9764 MB / 0.5499 GB, free: 1.734 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.5043, allocations: 0.7852 MB / 0.5507 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008407/0.5052, allocations: 191 kB / 0.5509 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.5055, allocations: 71.31 kB / 0.5509 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5055, allocations: 0 / 0.5509 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of Templates: time 0.2022/0.7077, allocations: 16.18 MB / 0.5667 GB, free: 162.5 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches