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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 183 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.1 MB / 223.7 MB, free: 8.496 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009616/0.0009616, allocations: 92.56 kB / 271.2 MB, free: 8.457 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007323/0.0007324, allocations: 31.94 kB / 327.2 MB, free: 360 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1877, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3117/0.4995, allocations: 152.1 MB / 0.5135 GB, free: 13.08 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.5028, allocations: 3.137 MB / 0.5166 GB, free: 12.88 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.503, allocations: 5.812 kB / 0.5166 GB, free: 12.87 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.5034, allocations: 100.5 kB / 0.5167 GB, free: 12.85 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.506, allocations: 1.095 MB / 0.5178 GB, free: 12.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009546/0.507, allocations: 352 kB / 0.5181 GB, free: 12.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008336/0.5079, allocations: 0.6276 MB / 0.5187 GB, free: 12.51 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.5079, allocations: 10.72 kB / 0.5187 GB, free: 12.51 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005086/0.5084, allocations: 203.8 kB / 0.5189 GB, free: 12.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.5088, allocations: 166.8 kB / 0.5191 GB, free: 12.47 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.5089, allocations: 10.56 kB / 0.5191 GB, free: 12.47 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004964/0.5139, allocations: 2.488 MB / 0.5215 GB, free: 12.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.5141, allocations: 139.6 kB / 0.5217 GB, free: 12.22 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.5144, allocations: 159.4 kB / 0.5218 GB, free: 12.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.5179, allocations: 1.783 MB / 0.5236 GB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5179, allocations: 0 / 0.5236 GB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5179, allocations: 0 / 0.5236 GB, free: 11.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.518, allocations: 0 / 0.5236 GB, free: 11.62 MB / 394.7 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.002243/0.5202, allocations: 0.7675 MB / 0.5243 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5202, allocations: 13.91 kB / 0.5243 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.5227, allocations: 268.3 kB / 0.5246 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.5231, allocations: 288 kB / 0.5248 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5232, allocations: 21.12 kB / 0.5249 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.5232, allocations: 28.67 kB / 0.5249 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.5245, allocations: 0.6686 MB / 0.5255 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.5245, allocations: 2.906 kB / 0.5256 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.5246, allocations: 9.688 kB / 0.5256 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.5246, allocations: 23.08 kB / 0.5256 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.5262, allocations: 0.7688 MB / 0.5263 GB, free: 10.32 MB / 394.7 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.003747/0.5299, allocations: 1.813 MB / 0.5281 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.5311, allocations: 473.4 kB / 0.5286 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.5317, allocations: 236.9 kB / 0.5288 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00233/0.5341, allocations: 1.378 MB / 0.5301 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.5341, allocations: 40.19 kB / 0.5302 GB, free: 7.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/0.5341, allocations: 2.625 kB / 0.5302 GB, free: 7.699 MB / 394.7 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.01303/0.5472, allocations: 3.724 MB / 0.5338 GB, free: 5.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.5472, allocations: 85.75 kB / 0.5339 GB, free: 5.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.5474, allocations: 177.9 kB / 0.5341 GB, free: 5.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.5474, allocations: 39.2 kB / 0.5341 GB, free: 5.699 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.198e-05/0.5475, allocations: 177.3 kB / 0.5343 GB, free: 5.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.5476, allocations: 172.1 kB / 0.5344 GB, free: 5.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.5478, allocations: 115.4 kB / 0.5345 GB, free: 5.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.548, allocations: 338.6 kB / 0.5349 GB, free: 5.062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007017/0.5487, allocations: 269.6 kB / 0.5351 GB, free: 5.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007975/0.5495, allocations: 426.6 kB / 0.5355 GB, free: 4.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.551, allocations: 0.6995 MB / 0.5362 GB, free: 4.492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.551, allocations: 4 kB / 0.5362 GB, free: 4.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001805/0.5528, allocations: 0.7902 MB / 0.537 GB, free: 4.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5528, allocations: 7.469 kB / 0.537 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5528, allocations: 4.688 kB / 0.537 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.553, allocations: 55.12 kB / 0.537 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.5541, allocations: 179.5 kB / 0.5372 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005817/0.5547, allocations: 1.08 MB / 0.5383 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007679/0.5555, allocations: 46.05 kB / 0.5383 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.5556, allocations: 40.03 kB / 0.5384 GB, free: 3.125 MB / 394.7 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.0002123/0.5558, allocations: 175.4 kB / 0.5385 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5559, allocations: 26.66 kB / 0.5385 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.558, allocations: 0.7803 MB / 0.5393 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.558, allocations: 8.906 kB / 0.5393 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5581, allocations: 2.75 kB / 0.5393 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5581, allocations: 3.984 kB / 0.5393 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.561, allocations: 1.557 MB / 0.5408 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5611, allocations: 2.688 kB / 0.5408 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.5621, allocations: 141.5 kB / 0.541 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.5622, allocations: 44.62 kB / 0.541 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/0.5623, allocations: 32.72 kB / 0.5411 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.5638, allocations: 2.535 MB / 0.5435 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5638, allocations: 2.031 kB / 0.5435 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03538/0.5992, allocations: 9.281 MB / 0.5526 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.5993, allocations: 99.11 kB / 0.5527 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.5994, allocations: 15.75 kB / 0.5527 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/0.6002, allocations: 38.77 kB / 0.5527 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.6003, allocations: 52.12 kB / 0.5528 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/0.6004, allocations: 33.84 kB / 0.5528 GB, free: 9.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.6005, allocations: 125.2 kB / 0.5529 GB, free: 9.188 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6005, allocations: 0 / 0.5529 GB, free: 9.188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002416/0.6029, allocations: 0.6936 MB / 0.5536 GB, free: 9.109 MB / 410.7 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.00763/0.6106, allocations: 1.96 MB / 0.5555 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.6125, allocations: 0.6491 MB / 0.5562 GB, free: 6.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6125, allocations: 4 kB / 0.5562 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.6136, allocations: 0.5381 MB / 0.5567 GB, free: 6.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.6143, allocations: 98.97 kB / 0.5568 GB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.6168, allocations: 1.652 MB / 0.5584 GB, free: 4.637 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.6171, allocations: 0.7966 MB / 0.5592 GB, free: 3.816 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001175/0.6183, allocations: 203.1 kB / 0.5594 GB, free: 3.621 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.6187, allocations: 70.56 kB / 0.5594 GB, free: 3.555 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6187, allocations: 0 / 0.5594 GB, free: 3.555 MB / 410.7 MB Notification: Performance of Templates: time 0.04427/0.663, allocations: 34.86 MB / 0.5935 GB, free: 0.6562 MB / 442.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches