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.00151/0.00151, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.902/1.902, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 55.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4154, allocations: 50.56 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.6855/1.101, allocations: 155.4 MB / 0.5521 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006615/1.108, allocations: 4.042 MB / 0.556 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/1.108, allocations: 0 / 0.556 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/1.109, allocations: 98.98 kB / 0.5561 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004103/1.113, allocations: 1.18 MB / 0.5573 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/1.115, allocations: 394.6 kB / 0.5576 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009943/1.116, allocations: 452.5 kB / 0.5581 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/1.116, allocations: 19.02 kB / 0.5581 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007533/1.116, allocations: 247 kB / 0.5583 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/1.117, allocations: 141 kB / 0.5585 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/1.117, allocations: 14.19 kB / 0.5585 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0067/1.124, allocations: 2.063 MB / 0.5605 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003033/1.124, allocations: 138.7 kB / 0.5606 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005187/1.125, allocations: 164.8 kB / 0.5608 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004448/1.129, allocations: 1.547 MB / 0.5623 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.129, allocations: 0 / 0.5623 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.914e-06/1.129, allocations: 6.062 kB / 0.5623 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/1.129, allocations: 0 / 0.5623 GB, free: 0.6875 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.003797/1.133, allocations: 0.7662 MB / 0.563 GB, free: 16.21 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.133, allocations: 11.25 kB / 0.5631 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.134, allocations: 107.2 kB / 0.5632 GB, free: 16.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007697/1.135, allocations: 287.2 kB / 0.5634 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/1.135, allocations: 18.56 kB / 0.5634 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.135, allocations: 25.66 kB / 0.5635 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/1.137, allocations: 0.598 MB / 0.5641 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/1.137, allocations: 0 / 0.5641 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.894e-05/1.137, allocations: 10.44 kB / 0.5641 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/1.137, allocations: 22.19 kB / 0.5641 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/1.14, allocations: 0.6446 MB / 0.5647 GB, free: 15.91 MB / 478.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.004696/1.144, allocations: 1.282 MB / 0.566 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/1.146, allocations: 353.9 kB / 0.5663 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008305/1.147, allocations: 170.4 kB / 0.5665 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004256/1.151, allocations: 1.373 MB / 0.5678 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/1.152, allocations: 41.28 kB / 0.5678 GB, free: 14.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 6.382e-06/1.152, allocations: 2.562 kB / 0.5679 GB, free: 14.23 MB / 478.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.02706/1.179, allocations: 3.491 MB / 0.5713 GB, free: 13.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/1.179, allocations: 82.83 kB / 0.5713 GB, free: 12.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/1.179, allocations: 183.5 kB / 0.5715 GB, free: 12.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/1.179, allocations: 32.73 kB / 0.5715 GB, free: 12.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/1.179, allocations: 186 kB / 0.5717 GB, free: 12.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/1.18, allocations: 165.5 kB / 0.5719 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/1.18, allocations: 125.2 kB / 0.572 GB, free: 12.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/1.18, allocations: 337.9 kB / 0.5723 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/1.182, allocations: 260.4 kB / 0.5726 GB, free: 12.24 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/1.184, allocations: 427.7 kB / 0.573 GB, free: 12.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/1.187, allocations: 0.6961 MB / 0.5737 GB, free: 11.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/1.187, allocations: 2.5 kB / 0.5737 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003768/1.19, allocations: 0.7818 MB / 0.5744 GB, free: 11.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/1.191, allocations: 6.75 kB / 0.5744 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.191, allocations: 7 kB / 0.5744 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/1.191, allocations: 61.52 kB / 0.5745 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/1.193, allocations: 178.1 kB / 0.5747 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/1.194, allocations: 1.081 MB / 0.5757 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/1.196, allocations: 41.95 kB / 0.5758 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/1.196, allocations: 44.3 kB / 0.5758 GB, free: 10.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.0004904/1.196, allocations: 180.7 kB / 0.576 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/1.197, allocations: 25.25 kB / 0.576 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/1.201, allocations: 0.7781 MB / 0.5768 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/1.201, allocations: 10.64 kB / 0.5768 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/1.201, allocations: 0 / 0.5768 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.201, allocations: 0 / 0.5768 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/1.207, allocations: 1.556 MB / 0.5783 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.207, allocations: 3.469 kB / 0.5783 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/1.209, allocations: 144.8 kB / 0.5784 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/1.21, allocations: 48.69 kB / 0.5785 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/1.21, allocations: 29.83 kB / 0.5785 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/1.213, allocations: 2.736 MB / 0.5812 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.213, allocations: 0 / 0.5812 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004935/1.218, allocations: 1.078 MB / 0.5822 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/1.218, allocations: 102.9 kB / 0.5823 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/1.218, allocations: 10.34 kB / 0.5823 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.22, allocations: 42.39 kB / 0.5824 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.22, allocations: 54.72 kB / 0.5824 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/1.22, allocations: 33.98 kB / 0.5825 GB, free: 6.715 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001736/1.22, allocations: 126.6 kB / 0.5826 GB, free: 6.637 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.923e-06/1.22, allocations: 0 / 0.5826 GB, free: 6.637 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002552/1.223, allocations: 389.9 kB / 0.583 GB, free: 6.594 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.004748/1.228, allocations: 0.8639 MB / 0.5838 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003705/1.231, allocations: 0.6534 MB / 0.5844 GB, free: 6.352 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/1.231, allocations: 384 / 0.5844 GB, free: 6.352 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001985/1.233, allocations: 0.529 MB / 0.585 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/1.235, allocations: 103.6 kB / 0.5851 GB, free: 6.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/1.239, allocations: 1.029 MB / 0.5861 GB, free: 5.562 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/1.239, allocations: 0.7797 MB / 0.5868 GB, free: 4.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/1.24, allocations: 75.64 kB / 0.5869 GB, free: 4.848 MB / 478.1 MB Notification: Performance of SimCode: time 8.41e-07/1.24, allocations: 0 / 0.5869 GB, free: 4.848 MB / 478.1 MB Notification: Performance of Templates: time 0.03833/1.279, allocations: 14.84 MB / 0.6014 GB, free: 13.64 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches