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.00107/0.00107, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001044/0.001044, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.253/1.253, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001187/0.001187, allocations: 59.91 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06915/0.07035, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2866/0.357, allocations: 154.3 MB / 0.5177 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.3602, allocations: 3.047 MB / 0.5206 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.3602, allocations: 4 kB / 0.5206 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.3607, allocations: 103.4 kB / 0.5207 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.3627, allocations: 1.176 MB / 0.5219 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008125/0.3636, allocations: 383.5 kB / 0.5223 GB, free: 188 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.3641, allocations: 458.9 kB / 0.5227 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.3641, allocations: 13.56 kB / 0.5227 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.3645, allocations: 234.7 kB / 0.5229 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.3647, allocations: 139.5 kB / 0.5231 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.3647, allocations: 16 kB / 0.5231 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.3678, allocations: 2.064 MB / 0.5251 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.368, allocations: 139.6 kB / 0.5252 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.3682, allocations: 163.4 kB / 0.5254 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.37, allocations: 1.532 MB / 0.5269 GB, free: 11.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.37, allocations: 0 / 0.5269 GB, free: 11.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.37, allocations: 0 / 0.5269 GB, free: 11.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.37, allocations: 4 kB / 0.5269 GB, free: 11.44 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.001925/0.372, allocations: 0.7651 MB / 0.5276 GB, free: 10.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.372, allocations: 11.97 kB / 0.5276 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006949/0.3727, allocations: 108.6 kB / 0.5277 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.3731, allocations: 279.7 kB / 0.528 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3731, allocations: 20.56 kB / 0.528 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.049e-05/0.3732, allocations: 31.88 kB / 0.5281 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3743, allocations: 0.6042 MB / 0.5286 GB, free: 9.523 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3743, allocations: 0 / 0.5286 GB, free: 9.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.3743, allocations: 12 kB / 0.5287 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.3744, allocations: 20.42 kB / 0.5287 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.3757, allocations: 0.634 MB / 0.5293 GB, free: 8.859 MB / 462.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.00279/0.3785, allocations: 1.29 MB / 0.5306 GB, free: 7.512 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/0.3795, allocations: 345.8 kB / 0.5309 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.38, allocations: 181.5 kB / 0.5311 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002285/0.3823, allocations: 1.376 MB / 0.5324 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3823, allocations: 38.56 kB / 0.5324 GB, free: 5.328 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.3823, allocations: 4 kB / 0.5324 GB, free: 5.324 MB / 462.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.01531/0.3977, allocations: 3.478 MB / 0.5358 GB, free: 1.648 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3977, allocations: 85.11 kB / 0.5359 GB, free: 1.547 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3979, allocations: 182.5 kB / 0.5361 GB, free: 1.359 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.3979, allocations: 33.7 kB / 0.5361 GB, free: 1.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.398, allocations: 180.1 kB / 0.5363 GB, free: 1.137 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.3982, allocations: 177.4 kB / 0.5365 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.3984, allocations: 114.2 kB / 0.5366 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3985, allocations: 346.7 kB / 0.5369 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/0.3993, allocations: 269.1 kB / 0.5372 GB, free: 240 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/0.4002, allocations: 421.5 kB / 0.5376 GB, free: 15.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.4019, allocations: 0.703 MB / 0.5383 GB, free: 14.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4019, allocations: 2.062 kB / 0.5383 GB, free: 14.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002061/0.404, allocations: 0.7801 MB / 0.539 GB, free: 14.19 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.404, allocations: 11.28 kB / 0.539 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4041, allocations: 7.938 kB / 0.539 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.4043, allocations: 49.69 kB / 0.5391 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.4055, allocations: 188.2 kB / 0.5393 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006559/0.4062, allocations: 1.077 MB / 0.5403 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.407, allocations: 47.95 kB / 0.5404 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.4071, allocations: 35.98 kB / 0.5404 GB, free: 12.73 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.0002503/0.4073, allocations: 177.5 kB / 0.5406 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.4075, allocations: 27.81 kB / 0.5406 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.4098, allocations: 0.7785 MB / 0.5414 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4098, allocations: 11.92 kB / 0.5414 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4098, allocations: 0 / 0.5414 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.4099, allocations: 96.83 kB / 0.5415 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/0.4099, allocations: 12 kB / 0.5415 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008127/0.4108, allocations: 35.95 kB / 0.5415 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.4108, allocations: 35.95 kB / 0.5415 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002936/0.4138, allocations: 0.8063 MB / 0.5423 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002585/0.4164, allocations: 1.028 MB / 0.5433 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007733/0.4172, allocations: 247.8 kB / 0.5436 GB, free: 9.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.217e-05/0.4172, allocations: 123.2 kB / 0.5437 GB, free: 9.289 MB / 478.1 MB Notification: Performance of Backend: time 4.61e-07/0.4173, allocations: 0 / 0.5437 GB, free: 9.289 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003969/0.4212, allocations: 1.295 MB / 0.5449 GB, free: 7.988 MB / 478.1 MB Notification: Performance of SimCode: time 0.001332/0.4226, allocations: 1.24 MB / 0.5462 GB, free: 6.699 MB / 478.1 MB Notification: Performance of Templates: time 0.1682/0.5908, allocations: 18.84 MB / 0.5646 GB, free: 165.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches