Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 111.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 51.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2552, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4085/0.6638, allocations: 152.5 MB / 0.5409 GB, free: 1.703 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.6683, allocations: 4.041 MB / 0.5449 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.6685, allocations: 2.25 kB / 0.5449 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.6689, allocations: 103.4 kB / 0.545 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.6717, allocations: 1.184 MB / 0.5461 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.6727, allocations: 390.8 kB / 0.5465 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.6733, allocations: 453.3 kB / 0.5469 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.6734, allocations: 14.14 kB / 0.5469 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.6737, allocations: 232.2 kB / 0.5472 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.6739, allocations: 140.9 kB / 0.5473 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.674, allocations: 15.78 kB / 0.5473 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/0.6773, allocations: 2.061 MB / 0.5493 GB, free: 1.605 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.6775, allocations: 131.9 kB / 0.5495 GB, free: 1.605 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.6777, allocations: 164.1 kB / 0.5496 GB, free: 1.605 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.6799, allocations: 1.537 MB / 0.5511 GB, free: 1.555 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6799, allocations: 0.9062 kB / 0.5511 GB, free: 1.555 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6799, allocations: 0 / 0.5511 GB, free: 1.555 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.6799, allocations: 2.047 kB / 0.5511 GB, free: 1.555 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.00211/0.682, allocations: 0.7688 MB / 0.5519 GB, free: 17.08 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6821, allocations: 8.812 kB / 0.5519 GB, free: 17.08 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006685/0.6828, allocations: 108.6 kB / 0.552 GB, free: 17.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.6831, allocations: 289.3 kB / 0.5523 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.6832, allocations: 22.56 kB / 0.5523 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.6832, allocations: 23.11 kB / 0.5523 GB, free: 16.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009586/0.6842, allocations: 0.5864 MB / 0.5529 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.6842, allocations: 0 / 0.5529 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.6843, allocations: 14 kB / 0.5529 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.6843, allocations: 23.81 kB / 0.5529 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.6854, allocations: 0.6402 MB / 0.5535 GB, free: 16.8 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.002589/0.688, allocations: 1.285 MB / 0.5548 GB, free: 16.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008575/0.6889, allocations: 360.9 kB / 0.5551 GB, free: 16.33 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.6893, allocations: 169.2 kB / 0.5553 GB, free: 16.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002294/0.6916, allocations: 1.382 MB / 0.5566 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.6917, allocations: 40.12 kB / 0.5567 GB, free: 15.14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.185e-06/0.6917, allocations: 0.8438 kB / 0.5567 GB, free: 15.14 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.01452/0.7062, allocations: 3.489 MB / 0.5601 GB, free: 14.03 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.7063, allocations: 83.73 kB / 0.5602 GB, free: 13.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.7065, allocations: 182.5 kB / 0.5603 GB, free: 13.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.7065, allocations: 37.91 kB / 0.5604 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.7067, allocations: 173.1 kB / 0.5605 GB, free: 13.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.7068, allocations: 177.1 kB / 0.5607 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.707, allocations: 114.6 kB / 0.5608 GB, free: 13.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7071, allocations: 344 kB / 0.5612 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/0.7079, allocations: 262.4 kB / 0.5614 GB, free: 13.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/0.7087, allocations: 428.5 kB / 0.5618 GB, free: 13.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.7102, allocations: 0.6947 MB / 0.5625 GB, free: 12.85 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.7102, allocations: 0 / 0.5625 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001881/0.7121, allocations: 0.784 MB / 0.5633 GB, free: 12.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.7121, allocations: 8.406 kB / 0.5633 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.7121, allocations: 4.609 kB / 0.5633 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002097/0.7123, allocations: 61.03 kB / 0.5633 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.7134, allocations: 173.7 kB / 0.5635 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006744/0.7141, allocations: 1.084 MB / 0.5646 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.7149, allocations: 41.84 kB / 0.5646 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/0.715, allocations: 42.34 kB / 0.5646 GB, free: 11.72 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.0002818/0.7153, allocations: 179.2 kB / 0.5648 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.7155, allocations: 28.33 kB / 0.5648 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.7176, allocations: 0.7837 MB / 0.5656 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.7176, allocations: 4.875 kB / 0.5656 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.7177, allocations: 1 kB / 0.5656 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.7177, allocations: 6.438 kB / 0.5656 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.7209, allocations: 1.557 MB / 0.5671 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.7209, allocations: 0 / 0.5671 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.722, allocations: 151.3 kB / 0.5673 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/0.7221, allocations: 37.67 kB / 0.5673 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-05/0.7222, allocations: 31.33 kB / 0.5673 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.7241, allocations: 2.727 MB / 0.57 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7241, allocations: 3.188 kB / 0.57 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.7267, allocations: 1.071 MB / 0.571 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.866e-05/0.7268, allocations: 103 kB / 0.5711 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.7269, allocations: 10.34 kB / 0.5712 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/0.7277, allocations: 40.06 kB / 0.5712 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.7278, allocations: 49.66 kB / 0.5712 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/0.7279, allocations: 36.58 kB / 0.5713 GB, free: 7.801 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.728, allocations: 120.2 kB / 0.5714 GB, free: 7.727 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.728, allocations: 0 / 0.5714 GB, free: 7.727 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001507/0.7295, allocations: 386.6 kB / 0.5718 GB, free: 7.684 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.002699/0.7322, allocations: 0.868 MB / 0.5726 GB, free: 7.527 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.7342, allocations: 0.6595 MB / 0.5733 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.7342, allocations: 2.406 kB / 0.5733 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.7353, allocations: 0.5319 MB / 0.5738 GB, free: 7.289 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.7362, allocations: 101.9 kB / 0.5739 GB, free: 7.277 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.7384, allocations: 1.027 MB / 0.5749 GB, free: 6.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.7387, allocations: 0.7847 MB / 0.5756 GB, free: 6.051 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.7392, allocations: 77.48 kB / 0.5757 GB, free: 6.039 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7392, allocations: 0 / 0.5757 GB, free: 6.039 MB / 478.1 MB Notification: Performance of Templates: time 0.02155/0.7608, allocations: 14.61 MB / 0.59 GB, free: 1.723 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches