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.0009786/0.0009788, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 51.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2173, allocations: 50.55 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3674/0.5847, allocations: 155.4 MB / 0.5514 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.5879, allocations: 4.042 MB / 0.5553 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.588, allocations: 3.766 kB / 0.5554 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.5884, allocations: 103.7 kB / 0.5555 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.5904, allocations: 1.18 MB / 0.5566 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.5911, allocations: 391.7 kB / 0.557 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.5916, allocations: 449.5 kB / 0.5574 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.5916, allocations: 20.09 kB / 0.5574 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.592, allocations: 242.3 kB / 0.5577 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.5921, allocations: 143.8 kB / 0.5578 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.5922, allocations: 19.5 kB / 0.5578 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.5949, allocations: 2.065 MB / 0.5598 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.595, allocations: 134.1 kB / 0.56 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.5952, allocations: 166.8 kB / 0.5601 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.5969, allocations: 1.546 MB / 0.5616 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5969, allocations: 4 kB / 0.5616 GB, free: 0.707 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5969, allocations: 0 / 0.5616 GB, free: 0.707 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.5969, allocations: 2.406 kB / 0.5616 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.001952/0.5989, allocations: 0.7826 MB / 0.5624 GB, free: 16.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.5989, allocations: 8.719 kB / 0.5624 GB, free: 16.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000665/0.5996, allocations: 110.4 kB / 0.5625 GB, free: 16.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.6, allocations: 282.6 kB / 0.5628 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.6, allocations: 18.22 kB / 0.5628 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.6, allocations: 29.41 kB / 0.5628 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009411/0.601, allocations: 0.5951 MB / 0.5634 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.601, allocations: 0 / 0.5634 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.6011, allocations: 16.16 kB / 0.5634 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.6011, allocations: 16.64 kB / 0.5634 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.6022, allocations: 0.6495 MB / 0.5641 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.002486/0.6047, allocations: 1.264 MB / 0.5653 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.6056, allocations: 362.2 kB / 0.5656 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.606, allocations: 171.5 kB / 0.5658 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002079/0.6081, allocations: 1.374 MB / 0.5672 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.6082, allocations: 52.78 kB / 0.5672 GB, free: 14.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.6082, allocations: 0 / 0.5672 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.0138/0.622, allocations: 3.492 MB / 0.5706 GB, free: 13.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.622, allocations: 85.83 kB / 0.5707 GB, free: 12.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.6222, allocations: 188.8 kB / 0.5709 GB, free: 12.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.6222, allocations: 35.61 kB / 0.5709 GB, free: 12.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.6223, allocations: 180.4 kB / 0.5711 GB, free: 12.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.6225, allocations: 180.6 kB / 0.5713 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.6227, allocations: 120 kB / 0.5714 GB, free: 12.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.6228, allocations: 336.3 kB / 0.5717 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.6235, allocations: 263.3 kB / 0.5719 GB, free: 12.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.6243, allocations: 425.2 kB / 0.5723 GB, free: 12.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.6258, allocations: 0.695 MB / 0.573 GB, free: 11.85 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6258, allocations: 5.688 kB / 0.573 GB, free: 11.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001787/0.6276, allocations: 0.7832 MB / 0.5738 GB, free: 11.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6276, allocations: 4.906 kB / 0.5738 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.6276, allocations: 5.938 kB / 0.5738 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.6278, allocations: 55.75 kB / 0.5739 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.6289, allocations: 189.9 kB / 0.574 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000585/0.6295, allocations: 1.073 MB / 0.5751 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.6302, allocations: 42.75 kB / 0.5751 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/0.6303, allocations: 42.11 kB / 0.5752 GB, free: 10.71 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.0002144/0.6305, allocations: 181.9 kB / 0.5753 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.6306, allocations: 35.16 kB / 0.5754 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.6326, allocations: 0.7779 MB / 0.5761 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.6326, allocations: 7.297 kB / 0.5761 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6326, allocations: 3.219 kB / 0.5761 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.6327, allocations: 4.203 kB / 0.5762 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.6355, allocations: 1.563 MB / 0.5777 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6355, allocations: 0 / 0.5777 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/0.6365, allocations: 143 kB / 0.5778 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.6367, allocations: 49.14 kB / 0.5779 GB, free: 9.836 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.6367, allocations: 26 kB / 0.5779 GB, free: 9.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.6383, allocations: 2.735 MB / 0.5806 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6383, allocations: 6.188 kB / 0.5806 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.6406, allocations: 1.076 MB / 0.5816 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.6407, allocations: 105.4 kB / 0.5817 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.6408, allocations: 12.53 kB / 0.5817 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/0.6415, allocations: 36.5 kB / 0.5818 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.6416, allocations: 47.52 kB / 0.5818 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.6417, allocations: 34.62 kB / 0.5818 GB, free: 6.695 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.794e-05/0.6418, allocations: 129.9 kB / 0.582 GB, free: 6.617 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6418, allocations: 0 / 0.582 GB, free: 6.617 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001178/0.643, allocations: 391.3 kB / 0.5823 GB, free: 6.566 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.002015/0.645, allocations: 0.8603 MB / 0.5832 GB, free: 6.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.6467, allocations: 0.6599 MB / 0.5838 GB, free: 6.324 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6467, allocations: 0 / 0.5838 GB, free: 6.324 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009715/0.6477, allocations: 0.5315 MB / 0.5843 GB, free: 6.098 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/0.6484, allocations: 102.5 kB / 0.5844 GB, free: 6.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.6502, allocations: 1.006 MB / 0.5854 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.6505, allocations: 0.7823 MB / 0.5862 GB, free: 4.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007732/0.6513, allocations: 189.1 kB / 0.5864 GB, free: 4.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.6516, allocations: 66.25 kB / 0.5864 GB, free: 4.738 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6516, allocations: 0 / 0.5864 GB, free: 4.738 MB / 478.1 MB Notification: Performance of Templates: time 0.02063/0.6723, allocations: 16.36 MB / 0.6024 GB, free: 11.97 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