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.0007483/0.0007483, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008588/0.0008589, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.7 MB / 246.8 MB, free: 11.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002156/0.0002157, allocations: 8 kB / 307.7 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08525, allocations: 51.53 MB / 359.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3027/0.388, allocations: 151.2 MB / 0.4985 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004228/0.3922, allocations: 4.089 MB / 0.5025 GB, free: 432 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.3924, allocations: 3.938 kB / 0.5025 GB, free: 428 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.3927, allocations: 99.5 kB / 0.5026 GB, free: 328 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.395, allocations: 1.095 MB / 0.5037 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008577/0.3959, allocations: 350.3 kB / 0.504 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.3965, allocations: 0.6236 MB / 0.5046 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.3966, allocations: 13.56 kB / 0.5046 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.397, allocations: 227.1 kB / 0.5049 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.3972, allocations: 159.5 kB / 0.505 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.3973, allocations: 12 kB / 0.505 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.4011, allocations: 2.49 MB / 0.5074 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4013, allocations: 127.7 kB / 0.5076 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.4015, allocations: 193 kB / 0.5078 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.4037, allocations: 1.777 MB / 0.5095 GB, free: 9.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4038, allocations: 0 / 0.5095 GB, free: 9.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4038, allocations: 8 kB / 0.5095 GB, free: 9.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4038, allocations: 0 / 0.5095 GB, free: 9.25 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.001879/0.4057, allocations: 0.6988 MB / 0.5102 GB, free: 8.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4057, allocations: 8.031 kB / 0.5102 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.4082, allocations: 264.3 kB / 0.5104 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.4086, allocations: 291.4 kB / 0.5107 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.4086, allocations: 24.55 kB / 0.5107 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.4087, allocations: 24 kB / 0.5108 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.4101, allocations: 0.6706 MB / 0.5114 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4101, allocations: 0 / 0.5114 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.117e-05/0.4102, allocations: 12 kB / 0.5114 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/0.4102, allocations: 24.42 kB / 0.5115 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.412, allocations: 0.7511 MB / 0.5122 GB, free: 6.391 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.003901/0.4159, allocations: 1.818 MB / 0.514 GB, free: 4.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.4172, allocations: 476.8 kB / 0.5144 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/0.4179, allocations: 229.8 kB / 0.5146 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002279/0.4202, allocations: 1.375 MB / 0.516 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.4202, allocations: 46.69 kB / 0.516 GB, free: 2.113 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.4203, allocations: 0 / 0.516 GB, free: 2.113 MB / 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.01404/0.4343, allocations: 3.629 MB / 0.5196 GB, free: 14.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.4344, allocations: 81.11 kB / 0.5196 GB, free: 14.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.4346, allocations: 177.1 kB / 0.5198 GB, free: 14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.4346, allocations: 33.7 kB / 0.5198 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4347, allocations: 176.1 kB / 0.52 GB, free: 13.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.4349, allocations: 173.6 kB / 0.5202 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.435, allocations: 49.7 kB / 0.5202 GB, free: 13.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4351, allocations: 342.8 kB / 0.5206 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007973/0.4359, allocations: 269.1 kB / 0.5208 GB, free: 12.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008641/0.4368, allocations: 425.5 kB / 0.5212 GB, free: 12.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.4385, allocations: 0.7067 MB / 0.5219 GB, free: 11.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4385, allocations: 0 / 0.5219 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002038/0.4406, allocations: 0.7767 MB / 0.5227 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4406, allocations: 8 kB / 0.5227 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4406, allocations: 4.625 kB / 0.5227 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.4408, allocations: 65.62 kB / 0.5227 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.442, allocations: 183.7 kB / 0.5229 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006276/0.4427, allocations: 1.077 MB / 0.524 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/0.4435, allocations: 47.86 kB / 0.524 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/0.4436, allocations: 40.17 kB / 0.5241 GB, free: 9.438 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.0002589/0.4439, allocations: 185.5 kB / 0.5242 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.444, allocations: 27.72 kB / 0.5243 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.4463, allocations: 0.7893 MB / 0.525 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4463, allocations: 4 kB / 0.525 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4464, allocations: 4 kB / 0.525 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4464, allocations: 4 kB / 0.525 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.4497, allocations: 1.547 MB / 0.5265 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.4497, allocations: 4 kB / 0.5266 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.4508, allocations: 148 kB / 0.5267 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/0.451, allocations: 45.62 kB / 0.5267 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.451, allocations: 23.97 kB / 0.5268 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.4526, allocations: 2.54 MB / 0.5292 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4527, allocations: 4 kB / 0.5292 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.4553, allocations: 1.079 MB / 0.5303 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.4554, allocations: 100.9 kB / 0.5304 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.4555, allocations: 15.94 kB / 0.5304 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.4564, allocations: 47.95 kB / 0.5305 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.4565, allocations: 35.89 kB / 0.5305 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.4566, allocations: 39.91 kB / 0.5305 GB, free: 2.363 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.686e-05/0.4567, allocations: 128.4 kB / 0.5306 GB, free: 2.238 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4567, allocations: 0 / 0.5306 GB, free: 2.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001438/0.4581, allocations: 411.8 kB / 0.531 GB, free: 1.836 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.002918/0.461, allocations: 0.8615 MB / 0.5319 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.4631, allocations: 0.6504 MB / 0.5325 GB, free: 320 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4631, allocations: 4 kB / 0.5325 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2061/0.6692, allocations: 0.5301 MB / 0.533 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.6702, allocations: 104.5 kB / 0.5331 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.6724, allocations: 1.218 MB / 0.5343 GB, free: 25.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.6726, allocations: 0.7866 MB / 0.5351 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001138/0.6738, allocations: 187.3 kB / 0.5353 GB, free: 24.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.6741, allocations: 67.23 kB / 0.5353 GB, free: 24.57 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6741, allocations: 0 / 0.5353 GB, free: 24.57 MB / 446.1 MB Notification: Performance of Templates: time 0.02433/0.6985, allocations: 15.72 MB / 0.5507 GB, free: 23.44 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