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.001632/0.001632, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002206/0.002206, allocations: 206.1 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001236, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2572, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4187/0.676, allocations: 155.4 MB / 0.5521 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003954/0.68, allocations: 4.044 MB / 0.556 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.6802, allocations: 3.5 kB / 0.556 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004713/0.6807, allocations: 98.58 kB / 0.5561 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.6836, allocations: 1.178 MB / 0.5573 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.6846, allocations: 394.9 kB / 0.5576 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006165/0.6852, allocations: 452.9 kB / 0.5581 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.6853, allocations: 17.8 kB / 0.5581 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004574/0.6858, allocations: 243.3 kB / 0.5583 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.6861, allocations: 143.9 kB / 0.5585 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.6862, allocations: 15.66 kB / 0.5585 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.6897, allocations: 2.065 MB / 0.5605 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.6899, allocations: 142.4 kB / 0.5606 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.6901, allocations: 160.3 kB / 0.5608 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.6928, allocations: 1.549 MB / 0.5623 GB, free: 0.707 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6929, allocations: 0 / 0.5623 GB, free: 0.707 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6929, allocations: 1.094 kB / 0.5623 GB, free: 0.707 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.6929, allocations: 0 / 0.5623 GB, free: 0.707 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.002387/0.6953, allocations: 0.764 MB / 0.563 GB, free: 16.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6953, allocations: 14.09 kB / 0.5631 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/0.6961, allocations: 105.7 kB / 0.5632 GB, free: 16.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.6965, allocations: 282.2 kB / 0.5634 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.6965, allocations: 21.75 kB / 0.5634 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.6966, allocations: 29.12 kB / 0.5635 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.6977, allocations: 0.5947 MB / 0.5641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.6977, allocations: 0 / 0.5641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.6978, allocations: 15.5 kB / 0.5641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.6978, allocations: 18.84 kB / 0.5641 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6989, allocations: 0.6452 MB / 0.5647 GB, free: 15.93 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.002787/0.7017, allocations: 1.273 MB / 0.566 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.7026, allocations: 357.2 kB / 0.5663 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.703, allocations: 168 kB / 0.5665 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/0.7054, allocations: 1.377 MB / 0.5678 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.7054, allocations: 41.34 kB / 0.5678 GB, free: 14.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.435e-06/0.7054, allocations: 3.938 kB / 0.5678 GB, free: 14.25 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.015/0.7204, allocations: 3.49 MB / 0.5713 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.7205, allocations: 85.52 kB / 0.5713 GB, free: 13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.7207, allocations: 183.6 kB / 0.5715 GB, free: 12.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.683e-05/0.7208, allocations: 36.08 kB / 0.5715 GB, free: 12.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7209, allocations: 178.5 kB / 0.5717 GB, free: 12.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.721, allocations: 171 kB / 0.5719 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.7212, allocations: 118.1 kB / 0.572 GB, free: 12.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7214, allocations: 342.5 kB / 0.5723 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/0.7221, allocations: 259.1 kB / 0.5726 GB, free: 12.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/0.7229, allocations: 427.7 kB / 0.573 GB, free: 12.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.7244, allocations: 0.7011 MB / 0.5737 GB, free: 11.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.7244, allocations: 0 / 0.5737 GB, free: 11.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00189/0.7263, allocations: 0.7797 MB / 0.5744 GB, free: 11.81 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.7264, allocations: 5.812 kB / 0.5744 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.7264, allocations: 9.453 kB / 0.5744 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.7266, allocations: 58.16 kB / 0.5745 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.7278, allocations: 182.6 kB / 0.5747 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006675/0.7285, allocations: 1.081 MB / 0.5757 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008145/0.7293, allocations: 42.44 kB / 0.5758 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/0.7294, allocations: 42.78 kB / 0.5758 GB, free: 10.74 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.0002816/0.7297, allocations: 181.6 kB / 0.576 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.7298, allocations: 26.02 kB / 0.576 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.7319, allocations: 0.7827 MB / 0.5768 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.7319, allocations: 5.406 kB / 0.5768 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.732, allocations: 2.531 kB / 0.5768 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.732, allocations: 2.672 kB / 0.5768 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.735, allocations: 1.559 MB / 0.5783 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.7351, allocations: 5.125 kB / 0.5783 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.7362, allocations: 146 kB / 0.5784 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.7363, allocations: 46.53 kB / 0.5785 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.7364, allocations: 23.36 kB / 0.5785 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.7381, allocations: 2.735 MB / 0.5812 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7381, allocations: 3.406 kB / 0.5812 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.7406, allocations: 1.071 MB / 0.5822 GB, free: 6.859 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/0.7407, allocations: 105.8 kB / 0.5823 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.7408, allocations: 12.81 kB / 0.5823 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008418/0.7417, allocations: 40.52 kB / 0.5824 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.7418, allocations: 47.23 kB / 0.5824 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/0.7418, allocations: 37.61 kB / 0.5825 GB, free: 6.738 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.7419, allocations: 126.6 kB / 0.5826 GB, free: 6.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7419, allocations: 0 / 0.5826 GB, free: 6.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001497/0.7435, allocations: 389.2 kB / 0.583 GB, free: 6.617 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.002394/0.7459, allocations: 0.8583 MB / 0.5838 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.7477, allocations: 0.657 MB / 0.5844 GB, free: 6.375 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.7478, allocations: 320 / 0.5844 GB, free: 6.375 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.7488, allocations: 0.5353 MB / 0.585 GB, free: 6.152 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007879/0.7496, allocations: 98.66 kB / 0.585 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.7523, allocations: 1.027 MB / 0.5861 GB, free: 5.586 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.7528, allocations: 0.7859 MB / 0.5868 GB, free: 4.879 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006365/0.7534, allocations: 81.88 kB / 0.5869 GB, free: 4.867 MB / 478.1 MB Notification: Performance of SimCode: time 1.322e-06/0.7535, allocations: 0 / 0.5869 GB, free: 4.867 MB / 478.1 MB Notification: Performance of Templates: time 0.02917/0.7826, allocations: 14.81 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