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.001059/0.001059, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001088/0.001088, allocations: 198 kB / 18.07 MB, free: 5.41 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.329/1.329, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001125/0.001125, allocations: 51.92 kB / 280 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.09148, allocations: 46.63 MB / 326.6 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3283/0.4198, allocations: 152.1 MB / 478.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.4232, allocations: 3.146 MB / 481.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.4233, allocations: 0 / 481.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.4238, allocations: 107.5 kB / 481.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.4263, allocations: 1.092 MB / 483 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.4272, allocations: 354.5 kB / 483.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006254/0.4278, allocations: 0.6156 MB / 483.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.4279, allocations: 17.56 kB / 484 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.4282, allocations: 215.1 kB / 484.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.4284, allocations: 155.5 kB / 484.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.4285, allocations: 12 kB / 484.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.4322, allocations: 2.49 MB / 486.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.4323, allocations: 127.7 kB / 487 MB, free: 7.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.4325, allocations: 163.2 kB / 487.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.4348, allocations: 1.777 MB / 488.9 MB, free: 5.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4348, allocations: 4 kB / 488.9 MB, free: 5.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4348, allocations: 4 kB / 488.9 MB, free: 5.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.4348, allocations: 0 / 488.9 MB, free: 5.34 MB / 382.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.002089/0.4369, allocations: 0.769 MB / 489.7 MB, free: 4.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.437, allocations: 8.031 kB / 489.7 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.4394, allocations: 264.3 kB / 489.9 MB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.4398, allocations: 287.9 kB / 490.2 MB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.4399, allocations: 20.5 kB / 490.2 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.4399, allocations: 28 kB / 490.3 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.4413, allocations: 0.6667 MB / 490.9 MB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4413, allocations: 7.938 kB / 490.9 MB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.4414, allocations: 19.98 kB / 491 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.4414, allocations: 20.42 kB / 491 MB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4431, allocations: 0.7551 MB / 491.7 MB, free: 2.406 MB / 382.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.003934/0.4471, allocations: 1.814 MB / 493.5 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.4483, allocations: 480.8 kB / 494 MB, free: 8 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.449, allocations: 233.6 kB / 494.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002359/0.4513, allocations: 1.384 MB / 495.6 MB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4514, allocations: 42.5 kB / 495.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.515e-06/0.4514, allocations: 4 kB / 495.7 MB, free: 14.11 MB / 398.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.01385/0.4653, allocations: 3.715 MB / 499.4 MB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4653, allocations: 85.11 kB / 499.5 MB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.4655, allocations: 178.5 kB / 499.6 MB, free: 9.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.4656, allocations: 37.7 kB / 499.7 MB, free: 9.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.4657, allocations: 176.1 kB / 499.9 MB, free: 9.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.4658, allocations: 177.5 kB / 0.4883 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.466, allocations: 110.3 kB / 0.4884 GB, free: 9.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4662, allocations: 342.8 kB / 0.4887 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/0.4669, allocations: 269.1 kB / 0.489 GB, free: 8.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/0.4677, allocations: 421.5 kB / 0.4894 GB, free: 8.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.4692, allocations: 0.7069 MB / 0.4901 GB, free: 7.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4692, allocations: 0 / 0.4901 GB, free: 7.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001952/0.4712, allocations: 0.7805 MB / 0.4909 GB, free: 6.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4712, allocations: 12.09 kB / 0.4909 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4713, allocations: 4 kB / 0.4909 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.4715, allocations: 57.62 kB / 0.4909 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4726, allocations: 179.7 kB / 0.4911 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006404/0.4733, allocations: 1.077 MB / 0.4921 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007704/0.4741, allocations: 52.08 kB / 0.4922 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.4741, allocations: 35.98 kB / 0.4922 GB, free: 5.285 MB / 398.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.0002372/0.4744, allocations: 181.6 kB / 0.4924 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4745, allocations: 23.72 kB / 0.4924 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.4767, allocations: 0.7823 MB / 0.4932 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.4767, allocations: 11.92 kB / 0.4932 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4767, allocations: 0 / 0.4932 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4767, allocations: 4 kB / 0.4932 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.4799, allocations: 1.55 MB / 0.4947 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4799, allocations: 0 / 0.4947 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.481, allocations: 156 kB / 0.4949 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.4812, allocations: 41.69 kB / 0.4949 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/0.4813, allocations: 27.91 kB / 0.4949 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.483, allocations: 2.536 MB / 0.4974 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4831, allocations: 4.031 kB / 0.4974 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.4856, allocations: 1.072 MB / 0.4985 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.4857, allocations: 104.9 kB / 0.4986 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4858, allocations: 12 kB / 0.4986 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/0.4866, allocations: 47.89 kB / 0.4986 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.4867, allocations: 39.89 kB / 0.4987 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/0.4868, allocations: 31.97 kB / 0.4987 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.4869, allocations: 132.4 kB / 0.4988 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4869, allocations: 7.938 kB / 0.4988 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001427/0.4883, allocations: 403.8 kB / 0.4992 GB, free: 13.69 MB / 414.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.002903/0.4912, allocations: 0.8654 MB / 0.5 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.4933, allocations: 0.656 MB / 0.5007 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4933, allocations: 0 / 0.5007 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.4944, allocations: 0.5287 MB / 0.5012 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.4953, allocations: 103.8 kB / 0.5013 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.4975, allocations: 1.105 MB / 0.5024 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.498, allocations: 0.7813 MB / 0.5031 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0012/0.4992, allocations: 191.1 kB / 0.5033 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.4995, allocations: 55.39 kB / 0.5034 GB, free: 9.297 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4996, allocations: 4 kB / 0.5034 GB, free: 9.293 MB / 414.1 MB Notification: Performance of Templates: time 0.02387/0.5234, allocations: 15.61 MB / 0.5186 GB, free: 9.645 MB / 430.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","../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches