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.00158/0.00158, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 56.09 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2287, allocations: 50.55 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3765/0.6052, allocations: 155.4 MB / 0.5514 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.6084, allocations: 4.042 MB / 0.5553 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.6086, allocations: 3.188 kB / 0.5553 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.609, allocations: 106.9 kB / 0.5554 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.6113, allocations: 1.183 MB / 0.5566 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.6122, allocations: 393.4 kB / 0.557 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.6126, allocations: 462.5 kB / 0.5574 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.6127, allocations: 17.92 kB / 0.5574 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.6131, allocations: 242 kB / 0.5577 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.6132, allocations: 145.6 kB / 0.5578 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.6133, allocations: 13.56 kB / 0.5578 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.6163, allocations: 2.066 MB / 0.5598 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.6164, allocations: 138.8 kB / 0.56 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.6166, allocations: 168.5 kB / 0.5601 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.6184, allocations: 1.543 MB / 0.5616 GB, free: 0.707 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6184, allocations: 0 / 0.5616 GB, free: 0.707 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6184, allocations: 0 / 0.5616 GB, free: 0.707 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.6184, allocations: 3.938 kB / 0.5616 GB, free: 0.7031 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.001954/0.6204, allocations: 0.7684 MB / 0.5624 GB, free: 16.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.6204, allocations: 10.03 kB / 0.5624 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006784/0.6211, allocations: 110.6 kB / 0.5625 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.6215, allocations: 280.7 kB / 0.5628 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.6215, allocations: 23.17 kB / 0.5628 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/0.6216, allocations: 27.58 kB / 0.5628 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009138/0.6225, allocations: 0.5986 MB / 0.5634 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.6225, allocations: 0 / 0.5634 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.6226, allocations: 9.688 kB / 0.5634 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.6226, allocations: 19.16 kB / 0.5634 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.6237, allocations: 0.6522 MB / 0.5641 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.00257/0.6263, allocations: 1.268 MB / 0.5653 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.6271, allocations: 359.2 kB / 0.5657 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.6275, allocations: 165.3 kB / 0.5658 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.6297, allocations: 1.369 MB / 0.5671 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.6297, allocations: 49.31 kB / 0.5672 GB, free: 14.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.6297, allocations: 0 / 0.5672 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.0138/0.6435, allocations: 3.492 MB / 0.5706 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.6436, allocations: 87.2 kB / 0.5707 GB, free: 13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.6438, allocations: 180.4 kB / 0.5709 GB, free: 12.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.6438, allocations: 35.27 kB / 0.5709 GB, free: 12.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.644, allocations: 183.8 kB / 0.5711 GB, free: 12.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.6441, allocations: 169.3 kB / 0.5712 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.6443, allocations: 117.2 kB / 0.5713 GB, free: 12.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6444, allocations: 343.3 kB / 0.5717 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/0.6452, allocations: 266.4 kB / 0.5719 GB, free: 12.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/0.646, allocations: 424.2 kB / 0.5723 GB, free: 12.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.6474, allocations: 0.6958 MB / 0.573 GB, free: 11.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6474, allocations: 2.719 kB / 0.573 GB, free: 11.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001773/0.6492, allocations: 0.7818 MB / 0.5738 GB, free: 11.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.6492, allocations: 10.72 kB / 0.5738 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6493, allocations: 5.5 kB / 0.5738 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.6495, allocations: 55.44 kB / 0.5738 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.6506, allocations: 181.8 kB / 0.574 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006534/0.6512, allocations: 1.081 MB / 0.5751 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/0.652, allocations: 42.27 kB / 0.5751 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.652, allocations: 43.56 kB / 0.5752 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.0002294/0.6523, allocations: 177.6 kB / 0.5753 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.6524, allocations: 28.66 kB / 0.5753 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.6544, allocations: 0.7813 MB / 0.5761 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6544, allocations: 7.062 kB / 0.5761 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6544, allocations: 0 / 0.5761 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.6544, allocations: 5.438 kB / 0.5761 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.6574, allocations: 1.56 MB / 0.5776 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6574, allocations: 2.562 kB / 0.5777 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.6585, allocations: 142.5 kB / 0.5778 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.6586, allocations: 45.83 kB / 0.5778 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.6587, allocations: 30.14 kB / 0.5779 GB, free: 9.875 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.6603, allocations: 2.728 MB / 0.5805 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6603, allocations: 6.375 kB / 0.5805 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.6626, allocations: 1.071 MB / 0.5816 GB, free: 6.863 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.6627, allocations: 103.7 kB / 0.5817 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.15e-05/0.6628, allocations: 13.55 kB / 0.5817 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.6635, allocations: 45.12 kB / 0.5817 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.6636, allocations: 48.92 kB / 0.5818 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.6637, allocations: 37.8 kB / 0.5818 GB, free: 6.738 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.186e-05/0.6638, allocations: 124.1 kB / 0.5819 GB, free: 6.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6638, allocations: 1.203 kB / 0.5819 GB, free: 6.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001334/0.6651, allocations: 387.3 kB / 0.5823 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.00206/0.6672, allocations: 0.8661 MB / 0.5831 GB, free: 6.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.6689, allocations: 0.6537 MB / 0.5838 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6689, allocations: 1.844 kB / 0.5838 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009679/0.6699, allocations: 0.5291 MB / 0.5843 GB, free: 6.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000698/0.6706, allocations: 97.69 kB / 0.5844 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.6724, allocations: 0.9967 MB / 0.5854 GB, free: 5.609 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.6728, allocations: 0.7885 MB / 0.5861 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007675/0.6735, allocations: 179.5 kB / 0.5863 GB, free: 4.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.6738, allocations: 66.06 kB / 0.5864 GB, free: 4.809 MB / 478.1 MB Notification: Performance of SimCode: time 9.91e-07/0.6738, allocations: 0 / 0.5864 GB, free: 4.809 MB / 478.1 MB Notification: Performance of Templates: time 0.02169/0.6955, allocations: 16.36 MB / 0.6023 GB, free: 12 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/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