Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.00161, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.84 kB / 307.9 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 50.54 MB / 358.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3726/0.4771, allocations: 155.4 MB / 0.5018 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005451/0.4826, allocations: 4.045 MB / 0.5057 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.4828, allocations: 3.938 kB / 0.5057 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.4834, allocations: 103.4 kB / 0.5058 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.4867, allocations: 1.177 MB / 0.507 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.4879, allocations: 390 kB / 0.5074 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.4886, allocations: 454.9 kB / 0.5078 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.288e-05/0.4887, allocations: 13.56 kB / 0.5078 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.4892, allocations: 247 kB / 0.508 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.4895, allocations: 147.4 kB / 0.5082 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.4896, allocations: 16 kB / 0.5082 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004863/0.4944, allocations: 2.131 MB / 0.5103 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.4947, allocations: 135.7 kB / 0.5104 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.4949, allocations: 167.3 kB / 0.5106 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.4979, allocations: 1.567 MB / 0.5121 GB, free: 5.191 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.498, allocations: 0 / 0.5121 GB, free: 5.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.498, allocations: 0 / 0.5121 GB, free: 5.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.498, allocations: 0 / 0.5121 GB, free: 5.191 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.002532/0.5005, allocations: 0.7729 MB / 0.5129 GB, free: 4.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.5006, allocations: 8.031 kB / 0.5129 GB, free: 4.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.5032, allocations: 268.3 kB / 0.5131 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.5037, allocations: 287.4 kB / 0.5134 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.5038, allocations: 24.56 kB / 0.5134 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/0.5039, allocations: 24 kB / 0.5134 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.5054, allocations: 0.6783 MB / 0.5141 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5054, allocations: 3.984 kB / 0.5141 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.5055, allocations: 16 kB / 0.5141 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/0.5055, allocations: 24.42 kB / 0.5141 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.5074, allocations: 0.7473 MB / 0.5149 GB, free: 2.246 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.004467/0.5118, allocations: 1.826 MB / 0.5167 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5133, allocations: 480.4 kB / 0.5171 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.514, allocations: 229.8 kB / 0.5173 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002788/0.5168, allocations: 1.375 MB / 0.5187 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.5169, allocations: 38.73 kB / 0.5187 GB, free: 13.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.256e-06/0.5169, allocations: 0 / 0.5187 GB, free: 13.97 MB / 446.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.01564/0.5325, allocations: 3.721 MB / 0.5223 GB, free: 10.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.5326, allocations: 85.11 kB / 0.5224 GB, free: 9.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.5328, allocations: 176.9 kB / 0.5226 GB, free: 9.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/0.5329, allocations: 41.64 kB / 0.5226 GB, free: 9.723 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.5331, allocations: 184 kB / 0.5228 GB, free: 9.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.5332, allocations: 173.5 kB / 0.523 GB, free: 9.367 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.5335, allocations: 122.2 kB / 0.5231 GB, free: 9.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5337, allocations: 338.8 kB / 0.5234 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/0.5345, allocations: 265.1 kB / 0.5237 GB, free: 8.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/0.5355, allocations: 421.5 kB / 0.5241 GB, free: 8.164 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.5374, allocations: 0.6993 MB / 0.5248 GB, free: 7.402 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5374, allocations: 0 / 0.5248 GB, free: 7.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002292/0.5397, allocations: 0.7883 MB / 0.5255 GB, free: 6.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.5397, allocations: 8.625 kB / 0.5255 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.5398, allocations: 8 kB / 0.5255 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.54, allocations: 53.69 kB / 0.5256 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.5412, allocations: 179.7 kB / 0.5258 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009306/0.5422, allocations: 1.077 MB / 0.5268 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/0.543, allocations: 44.14 kB / 0.5269 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.493e-05/0.5431, allocations: 39.97 kB / 0.5269 GB, free: 5.141 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.0003086/0.5434, allocations: 177.6 kB / 0.5271 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.5436, allocations: 27.72 kB / 0.5271 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.5461, allocations: 0.7861 MB / 0.5279 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.5461, allocations: 8 kB / 0.5279 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5461, allocations: 4 kB / 0.5279 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5461, allocations: 0 / 0.5279 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.5497, allocations: 1.546 MB / 0.5294 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.5498, allocations: 4 kB / 0.5294 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.551, allocations: 152 kB / 0.5295 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.5511, allocations: 41.62 kB / 0.5296 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/0.5512, allocations: 27.97 kB / 0.5296 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1827/0.7339, allocations: 2.728 MB / 0.5323 GB, free: 159.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.7339, allocations: 2.875 kB / 0.5323 GB, free: 159.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/0.7368, allocations: 1.076 MB / 0.5333 GB, free: 159.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.7369, allocations: 100.8 kB / 0.5334 GB, free: 159.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.737, allocations: 13.27 kB / 0.5334 GB, free: 159.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008667/0.7378, allocations: 39.09 kB / 0.5335 GB, free: 159.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.7379, allocations: 45.72 kB / 0.5335 GB, free: 159.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/0.738, allocations: 37.45 kB / 0.5335 GB, free: 159.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.7381, allocations: 126.6 kB / 0.5337 GB, free: 159.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7381, allocations: 0 / 0.5337 GB, free: 159.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001443/0.7396, allocations: 394.7 kB / 0.534 GB, free: 159.4 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.002843/0.7424, allocations: 0.867 MB / 0.5349 GB, free: 159.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.7446, allocations: 0.6881 MB / 0.5356 GB, free: 159.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.7446, allocations: 2.078 kB / 0.5356 GB, free: 159.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.7457, allocations: 0.5365 MB / 0.5361 GB, free: 159 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.7466, allocations: 97.02 kB / 0.5362 GB, free: 159 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.7487, allocations: 1.04 MB / 0.5372 GB, free: 158.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.749, allocations: 0.7919 MB / 0.538 GB, free: 157.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.7494, allocations: 76.44 kB / 0.538 GB, free: 157.8 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.7494, allocations: 1.906 kB / 0.538 GB, free: 157.8 MB / 446.1 MB Notification: Performance of Templates: time 0.02375/0.7732, allocations: 14.75 MB / 0.5524 GB, free: 152.4 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches