Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001264/0.001264, allocations: 93.58 kB / 16.94 MB, free: 5.734 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.001643/0.001643, allocations: 179.4 kB / 17.82 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 12 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1011, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3/0.4012, allocations: 127.6 MB / 455.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.4051, allocations: 3.396 MB / 459.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.4052, allocations: 0 / 459.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.4056, allocations: 87.64 kB / 459.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.4075, allocations: 0.7828 MB / 460.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008046/0.4083, allocations: 296.1 kB / 460.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.4087, allocations: 283.7 kB / 460.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.4088, allocations: 17.55 kB / 460.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.4093, allocations: 287.2 kB / 461.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.4095, allocations: 115.6 kB / 461.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.4095, allocations: 8 kB / 461.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.4133, allocations: 1.606 MB / 462.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.4135, allocations: 123.7 kB / 462.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.436e-05/0.4135, allocations: 81.58 kB / 463 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.4148, allocations: 0.8742 MB / 463.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4148, allocations: 8 kB / 463.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4148, allocations: 0 / 463.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.4148, allocations: 0 / 463.9 MB, free: 1.227 MB / 350.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.00188/0.4167, allocations: 0.7064 MB / 464.6 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4168, allocations: 8.031 kB / 464.6 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.4175, allocations: 119.6 kB / 464.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.4179, allocations: 266.6 kB / 465 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.4179, allocations: 20.56 kB / 465 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.418, allocations: 27.91 kB / 465 MB, free: 0 / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.4191, allocations: 0.5929 MB / 465.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.4191, allocations: 4 kB / 465.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.4192, allocations: 12 kB / 465.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/0.4192, allocations: 20.42 kB / 465.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.4204, allocations: 0.6308 MB / 466.3 MB, free: 14.73 MB / 366.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.002634/0.4231, allocations: 1.253 MB / 467.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/0.424, allocations: 356.9 kB / 467.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/0.4255, allocations: 0.9358 MB / 468.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.4256, allocations: 42.36 kB / 468.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.434e-06/0.4256, allocations: 0 / 468.8 MB, free: 11.92 MB / 366.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.01467/0.4402, allocations: 3.484 MB / 472.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.4403, allocations: 85.11 kB / 472.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.4405, allocations: 187.2 kB / 472.6 MB, free: 7.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.4405, allocations: 29.7 kB / 472.6 MB, free: 7.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4406, allocations: 172.1 kB / 472.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.4408, allocations: 185.4 kB / 473 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.4408, allocations: 12 kB / 473 MB, free: 7.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.441, allocations: 334.8 kB / 473.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/0.4417, allocations: 261.1 kB / 473.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008335/0.4426, allocations: 422.2 kB / 474 MB, free: 6.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007822/0.4434, allocations: 305.1 kB / 474.3 MB, free: 6.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4434, allocations: 0 / 474.3 MB, free: 6.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001879/0.4453, allocations: 0.7879 MB / 475.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4453, allocations: 8 kB / 475.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4453, allocations: 4 kB / 475.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.4455, allocations: 54.31 kB / 475.1 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.4467, allocations: 183.7 kB / 475.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005998/0.4473, allocations: 1.078 MB / 476.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/0.4481, allocations: 47.86 kB / 476.4 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.4481, allocations: 35.98 kB / 476.5 MB, free: 3.914 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.4484, allocations: 185.7 kB / 476.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.4485, allocations: 27.72 kB / 476.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.4508, allocations: 0.774 MB / 477.5 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.4508, allocations: 7.984 kB / 477.5 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.4508, allocations: 8 kB / 477.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4508, allocations: 0.875 kB / 477.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.4541, allocations: 1.57 MB / 479 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4541, allocations: 4 kB / 479 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.4552, allocations: 151.9 kB / 479.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.4553, allocations: 41.69 kB / 479.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.4554, allocations: 23.97 kB / 479.3 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.457, allocations: 2.552 MB / 481.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4571, allocations: 0 / 481.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.4596, allocations: 1.166 MB / 483 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.48e-05/0.4598, allocations: 108.7 kB / 483.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.4599, allocations: 12 kB / 483.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.4607, allocations: 43.89 kB / 483.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.4608, allocations: 39.95 kB / 483.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.4608, allocations: 31.97 kB / 483.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.4609, allocations: 128.4 kB / 483.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.461, allocations: 0 / 483.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001241/0.4622, allocations: 379.7 kB / 483.7 MB, free: 12.19 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002136/0.4643, allocations: 0.6665 MB / 484.4 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.4662, allocations: 0.6402 MB / 485 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.4662, allocations: 4 kB / 485 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.4673, allocations: 0.5287 MB / 485.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.4679, allocations: 88.94 kB / 485.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4699, allocations: 1.193 MB / 486.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4703, allocations: 0.793 MB / 487.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001156/0.4715, allocations: 187.1 kB / 487.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.4718, allocations: 63.39 kB / 487.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4718, allocations: 0 / 487.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of Templates: time 0.02237/0.4942, allocations: 15.52 MB / 0.4916 GB, free: 8.355 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches