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.0009488/0.0009486, allocations: 94.36 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009426/0.0009428, allocations: 204.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002181/0.0002182, allocations: 8 kB / 306.6 MB, free: 1.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08451, allocations: 51.49 MB / 358 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2889/0.3734, allocations: 127.7 MB / 485.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.3771, allocations: 3.381 MB / 489.1 MB, free: 9.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.3772, allocations: 7.938 kB / 489.1 MB, free: 9.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.3776, allocations: 75.7 kB / 489.2 MB, free: 9.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.3795, allocations: 0.8061 MB / 490 MB, free: 8.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.3803, allocations: 298.6 kB / 490.3 MB, free: 8.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004503/0.3807, allocations: 275.9 kB / 490.6 MB, free: 8.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.876e-05/0.3808, allocations: 9.562 kB / 490.6 MB, free: 8.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.3813, allocations: 291.1 kB / 490.9 MB, free: 7.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3815, allocations: 111.6 kB / 491 MB, free: 7.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.3815, allocations: 12 kB / 491 MB, free: 7.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.3854, allocations: 1.614 MB / 492.6 MB, free: 6.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3855, allocations: 127.7 kB / 492.7 MB, free: 5.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.3856, allocations: 81.58 kB / 492.8 MB, free: 5.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.3869, allocations: 0.87 MB / 493.7 MB, free: 5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.3869, allocations: 0 / 493.7 MB, free: 5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3869, allocations: 0 / 493.7 MB, free: 5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3869, allocations: 0 / 493.7 MB, free: 5 MB / 398.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.001829/0.3888, allocations: 0.7245 MB / 494.4 MB, free: 4.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3888, allocations: 12.03 kB / 494.4 MB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006894/0.3895, allocations: 111.6 kB / 494.5 MB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.3899, allocations: 270.6 kB / 494.8 MB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3899, allocations: 16.56 kB / 494.8 MB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.39, allocations: 35.91 kB / 494.8 MB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3911, allocations: 0.5812 MB / 495.4 MB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3911, allocations: 0 / 495.4 MB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/0.3912, allocations: 12 kB / 495.4 MB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/0.3912, allocations: 24.42 kB / 495.4 MB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3925, allocations: 0.6415 MB / 496.1 MB, free: 2.484 MB / 398.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.002688/0.3952, allocations: 1.252 MB / 497.3 MB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009588/0.3962, allocations: 356.7 kB / 497.7 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.3977, allocations: 0.9158 MB / 498.6 MB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3977, allocations: 38.56 kB / 498.6 MB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.774e-06/0.3977, allocations: 4 kB / 498.6 MB, free: 15.7 MB / 414.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.01492/0.4126, allocations: 3.49 MB / 0.4904 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4127, allocations: 88.98 kB / 0.4905 GB, free: 11.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4129, allocations: 177.1 kB / 0.4906 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.625e-05/0.4129, allocations: 37.7 kB / 0.4907 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.413, allocations: 176.1 kB / 0.4908 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.4132, allocations: 173.5 kB / 0.491 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.4132, allocations: 12 kB / 0.491 GB, free: 11.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4133, allocations: 338.8 kB / 0.4913 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007564/0.4141, allocations: 261.1 kB / 0.4916 GB, free: 10.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008164/0.4149, allocations: 418.3 kB / 0.492 GB, free: 10.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.4157, allocations: 302.6 kB / 0.4923 GB, free: 9.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4157, allocations: 0 / 0.4923 GB, free: 9.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00191/0.4176, allocations: 0.7838 MB / 0.493 GB, free: 9.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4177, allocations: 12.05 kB / 0.493 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4177, allocations: 11.98 kB / 0.4931 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.4179, allocations: 49.69 kB / 0.4931 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.4191, allocations: 187.7 kB / 0.4933 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005781/0.4197, allocations: 1.073 MB / 0.4943 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/0.4205, allocations: 52.09 kB / 0.4944 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.4206, allocations: 39.98 kB / 0.4944 GB, free: 7.684 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.4208, allocations: 173.9 kB / 0.4946 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4209, allocations: 23.72 kB / 0.4946 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.4231, allocations: 0.7966 MB / 0.4954 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4231, allocations: 7.938 kB / 0.4954 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4231, allocations: 0 / 0.4954 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.4232, allocations: 4 kB / 0.4954 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.4263, allocations: 1.562 MB / 0.4969 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4263, allocations: 0 / 0.4969 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.4274, allocations: 151.7 kB / 0.4971 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.4275, allocations: 53.53 kB / 0.4971 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.4276, allocations: 24.06 kB / 0.4971 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.4291, allocations: 2.529 MB / 0.4996 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4291, allocations: 7.969 kB / 0.4996 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.4316, allocations: 1.167 MB / 0.5008 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.4317, allocations: 96.83 kB / 0.5008 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.863e-05/0.4318, allocations: 19.95 kB / 0.5009 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/0.4327, allocations: 40 kB / 0.5009 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.4327, allocations: 39.89 kB / 0.5009 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.4328, allocations: 35.97 kB / 0.501 GB, free: 484 kB / 414.1 MB Notification: Performance of sorting global known variables: time 8.188e-05/0.4329, allocations: 127.5 kB / 0.5011 GB, free: 356 kB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4329, allocations: 4 kB / 0.5011 GB, free: 352 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001212/0.4341, allocations: 379.8 kB / 0.5015 GB, free: 15.97 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002103/0.4362, allocations: 0.6587 MB / 0.5021 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.4381, allocations: 0.6477 MB / 0.5027 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4382, allocations: 256 / 0.5027 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.4392, allocations: 0.5365 MB / 0.5033 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.4399, allocations: 98 kB / 0.5034 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.4419, allocations: 1.187 MB / 0.5045 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4422, allocations: 0.7969 MB / 0.5053 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001119/0.4433, allocations: 191.1 kB / 0.5055 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.4436, allocations: 59.39 kB / 0.5055 GB, free: 11.69 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4436, allocations: 0 / 0.5055 GB, free: 11.69 MB / 430.1 MB Notification: Performance of Templates: time 0.02249/0.4661, allocations: 15.68 MB / 0.5208 GB, free: 12.02 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","../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches