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.001022/0.001021, allocations: 118.8 kB / 17.79 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.001033/0.001033, 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.29/1.29, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.221, allocations: 50.54 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3733/0.5943, allocations: 155.4 MB / 0.5514 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.5976, allocations: 4.047 MB / 0.5553 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.5977, allocations: 0 / 0.5553 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.5981, allocations: 104.4 kB / 0.5554 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.6002, allocations: 1.175 MB / 0.5566 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.601, allocations: 396.3 kB / 0.557 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.6015, allocations: 455.1 kB / 0.5574 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.6015, allocations: 16.89 kB / 0.5574 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.6018, allocations: 245.3 kB / 0.5577 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.602, allocations: 139.4 kB / 0.5578 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.6021, allocations: 19.41 kB / 0.5578 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.6048, allocations: 2.065 MB / 0.5598 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.6049, allocations: 135.8 kB / 0.56 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.605, allocations: 164.3 kB / 0.5601 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.6066, allocations: 1.542 MB / 0.5616 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6066, allocations: 0 / 0.5616 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6067, allocations: 7.938 kB / 0.5616 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.6067, allocations: 0 / 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.001923/0.6086, allocations: 0.7688 MB / 0.5624 GB, free: 16.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.6086, allocations: 10.56 kB / 0.5624 GB, free: 16.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006524/0.6093, allocations: 106.5 kB / 0.5625 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.6097, allocations: 289.9 kB / 0.5628 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.6097, allocations: 19.8 kB / 0.5628 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.6098, allocations: 25.08 kB / 0.5628 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/0.6108, allocations: 0.5959 MB / 0.5634 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.6108, allocations: 3.188 kB / 0.5634 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.6109, allocations: 9.75 kB / 0.5634 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.6109, allocations: 22.11 kB / 0.5634 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.6121, allocations: 0.6418 MB / 0.564 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.00265/0.6147, allocations: 1.272 MB / 0.5653 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.6157, allocations: 360.8 kB / 0.5656 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.6161, allocations: 168.8 kB / 0.5658 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002216/0.6183, allocations: 1.37 MB / 0.5671 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.6184, allocations: 44.34 kB / 0.5672 GB, free: 14.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.6184, 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.01453/0.6329, allocations: 3.499 MB / 0.5706 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.633, allocations: 84.36 kB / 0.5707 GB, free: 13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.6331, allocations: 184.7 kB / 0.5708 GB, free: 12.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.6332, allocations: 34.67 kB / 0.5709 GB, free: 12.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.6333, allocations: 181.9 kB / 0.5711 GB, free: 12.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.6334, allocations: 171.6 kB / 0.5712 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.6336, allocations: 118.7 kB / 0.5713 GB, free: 12.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6337, allocations: 340.7 kB / 0.5717 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007322/0.6344, allocations: 261.2 kB / 0.5719 GB, free: 12.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/0.6353, allocations: 426.4 kB / 0.5723 GB, free: 12.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.6369, allocations: 0.6969 MB / 0.573 GB, free: 11.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6369, allocations: 3.219 kB / 0.573 GB, free: 11.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001897/0.6388, allocations: 0.7796 MB / 0.5738 GB, free: 11.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6388, allocations: 9.578 kB / 0.5738 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.6388, allocations: 4.438 kB / 0.5738 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.639, allocations: 58.78 kB / 0.5738 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.6402, allocations: 182.9 kB / 0.574 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005816/0.6408, allocations: 1.08 MB / 0.5751 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007593/0.6416, allocations: 43.34 kB / 0.5751 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.6416, allocations: 41.45 kB / 0.5751 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.0002039/0.6418, allocations: 181.4 kB / 0.5753 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.642, allocations: 31.88 kB / 0.5753 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.6441, allocations: 0.7691 MB / 0.5761 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6441, allocations: 7.609 kB / 0.5761 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6441, allocations: 3.094 kB / 0.5761 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.6441, allocations: 3.984 kB / 0.5761 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.6473, allocations: 1.553 MB / 0.5776 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6473, allocations: 7.438 kB / 0.5776 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.6484, allocations: 144.6 kB / 0.5778 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.6485, allocations: 44.92 kB / 0.5778 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.6486, allocations: 27.47 kB / 0.5778 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.6502, allocations: 2.729 MB / 0.5805 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6502, allocations: 2.562 kB / 0.5805 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/0.6527, allocations: 1.077 MB / 0.5816 GB, free: 6.863 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.6528, allocations: 99.45 kB / 0.5817 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.116e-05/0.6529, allocations: 15.34 kB / 0.5817 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/0.6537, allocations: 39.44 kB / 0.5817 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.6537, allocations: 55.42 kB / 0.5818 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.6538, allocations: 36.59 kB / 0.5818 GB, free: 6.738 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.6539, allocations: 123.9 kB / 0.5819 GB, free: 6.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6539, allocations: 0 / 0.5819 GB, free: 6.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001283/0.6552, allocations: 389.8 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.002101/0.6573, allocations: 0.8709 MB / 0.5831 GB, free: 6.383 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.6591, allocations: 0.6559 MB / 0.5838 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6591, allocations: 3.281 kB / 0.5838 GB, free: 6.367 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.6602, allocations: 0.5247 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.0007409/0.6609, allocations: 103.2 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.001939/0.6629, allocations: 0.9953 MB / 0.5854 GB, free: 5.613 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.6632, allocations: 0.785 MB / 0.5861 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000802/0.664, allocations: 182.4 kB / 0.5863 GB, free: 4.824 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.6643, allocations: 65.48 kB / 0.5864 GB, free: 4.812 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6643, allocations: 0 / 0.5864 GB, free: 4.812 MB / 478.1 MB Notification: Performance of Templates: time 0.02245/0.6868, allocations: 16.47 MB / 0.6024 GB, free: 11.91 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