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.001361/0.001361, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.001309/0.001309, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001942, allocations: 47.92 kB / 352 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2782, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4202/0.6984, allocations: 152.5 MB / 0.5409 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005098/0.7036, allocations: 4.035 MB / 0.5449 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.7039, allocations: 2.438 kB / 0.5449 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.7044, allocations: 107.7 kB / 0.545 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.7079, allocations: 1.178 MB / 0.5461 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.7091, allocations: 392.3 kB / 0.5465 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006514/0.7097, allocations: 457.3 kB / 0.5469 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.7098, allocations: 17.53 kB / 0.547 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.7102, allocations: 224.2 kB / 0.5472 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.7104, allocations: 141.4 kB / 0.5473 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.7104, allocations: 15.19 kB / 0.5473 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004012/0.7145, allocations: 2.06 MB / 0.5493 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.7147, allocations: 135.7 kB / 0.5495 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.7149, allocations: 167.5 kB / 0.5496 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.7177, allocations: 1.534 MB / 0.5511 GB, free: 1.531 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7177, allocations: 0 / 0.5511 GB, free: 1.531 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.7177, allocations: 1.062 kB / 0.5511 GB, free: 1.531 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.7177, allocations: 3.75 kB / 0.5511 GB, free: 1.531 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.002328/0.7201, allocations: 0.7673 MB / 0.5519 GB, free: 17.06 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.7201, allocations: 13.86 kB / 0.5519 GB, free: 17.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007166/0.7209, allocations: 107.1 kB / 0.552 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.7212, allocations: 286 kB / 0.5523 GB, free: 16.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.7213, allocations: 20.28 kB / 0.5523 GB, free: 16.83 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.7213, allocations: 28.09 kB / 0.5523 GB, free: 16.83 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009906/0.7223, allocations: 0.5885 MB / 0.5529 GB, free: 16.78 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.7223, allocations: 0 / 0.5529 GB, free: 16.78 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.7224, allocations: 15.97 kB / 0.5529 GB, free: 16.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.7224, allocations: 24.08 kB / 0.5529 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.7236, allocations: 0.6411 MB / 0.5535 GB, free: 16.77 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.002585/0.7262, allocations: 1.278 MB / 0.5548 GB, free: 16.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.727, allocations: 353.7 kB / 0.5551 GB, free: 16.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.7275, allocations: 178.5 kB / 0.5553 GB, free: 16.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/0.7299, allocations: 1.384 MB / 0.5566 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.7299, allocations: 39.38 kB / 0.5567 GB, free: 15.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.7299, allocations: 0 / 0.5567 GB, free: 15.12 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.01489/0.7448, allocations: 3.482 MB / 0.5601 GB, free: 14.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.7449, allocations: 87.48 kB / 0.5602 GB, free: 13.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.7451, allocations: 180.5 kB / 0.5603 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.893e-05/0.7452, allocations: 35.42 kB / 0.5604 GB, free: 13.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.7453, allocations: 179.8 kB / 0.5605 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.7454, allocations: 174.5 kB / 0.5607 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.7456, allocations: 118.5 kB / 0.5608 GB, free: 13.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.7458, allocations: 339.4 kB / 0.5612 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.7465, allocations: 264.9 kB / 0.5614 GB, free: 13.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/0.7472, allocations: 426.6 kB / 0.5618 GB, free: 13 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.7487, allocations: 0.6934 MB / 0.5625 GB, free: 12.83 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7487, allocations: 0 / 0.5625 GB, free: 12.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0019/0.7506, allocations: 0.7839 MB / 0.5633 GB, free: 12.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.7507, allocations: 6.062 kB / 0.5633 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7507, allocations: 4.906 kB / 0.5633 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.7509, allocations: 56.8 kB / 0.5633 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.752, allocations: 182.1 kB / 0.5635 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006434/0.7527, allocations: 1.08 MB / 0.5645 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/0.7535, allocations: 45.11 kB / 0.5646 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.7536, allocations: 47.27 kB / 0.5646 GB, free: 11.7 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.0002726/0.7538, allocations: 181.3 kB / 0.5648 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.754, allocations: 25.88 kB / 0.5648 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.756, allocations: 0.7801 MB / 0.5656 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.7561, allocations: 5.984 kB / 0.5656 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7561, allocations: 0.9688 kB / 0.5656 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.7561, allocations: 9.656 kB / 0.5656 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.7592, allocations: 1.551 MB / 0.5671 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.7592, allocations: 3.844 kB / 0.5671 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.7603, allocations: 146 kB / 0.5673 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/0.7604, allocations: 45.03 kB / 0.5673 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.7605, allocations: 28.94 kB / 0.5673 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.7624, allocations: 2.73 MB / 0.57 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7625, allocations: 3.312 kB / 0.57 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.765, allocations: 1.072 MB / 0.5711 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.7651, allocations: 106.4 kB / 0.5712 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.7652, allocations: 12.69 kB / 0.5712 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000833/0.766, allocations: 38 kB / 0.5712 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.7661, allocations: 44.33 kB / 0.5712 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.7662, allocations: 34.38 kB / 0.5713 GB, free: 7.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.7663, allocations: 125.9 kB / 0.5714 GB, free: 7.699 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7663, allocations: 1.203 kB / 0.5714 GB, free: 7.699 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001595/0.7679, allocations: 386.9 kB / 0.5718 GB, free: 7.656 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.00226/0.7702, allocations: 0.8559 MB / 0.5726 GB, free: 7.504 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.7721, allocations: 0.6608 MB / 0.5732 GB, free: 7.492 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.7721, allocations: 0 / 0.5732 GB, free: 7.492 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.7732, allocations: 0.5368 MB / 0.5738 GB, free: 7.266 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/0.774, allocations: 103.7 kB / 0.5739 GB, free: 7.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.7761, allocations: 1.024 MB / 0.5749 GB, free: 6.727 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.7765, allocations: 0.7876 MB / 0.5756 GB, free: 6.027 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.777, allocations: 76.09 kB / 0.5757 GB, free: 6.016 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.777, allocations: 0 / 0.5757 GB, free: 6.016 MB / 478.1 MB Notification: Performance of Templates: time 0.02019/0.7972, allocations: 14.63 MB / 0.59 GB, free: 1.688 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