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.001553/0.001553, allocations: 114.5 kB / 18.41 MB, free: 4.691 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.001709/0.001709, allocations: 190.1 kB / 19.35 MB, free: 3.762 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.359/1.359, 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.00122/0.00122, allocations: 55.91 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07172/0.07295, 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.2929/0.3659, allocations: 154.3 MB / 0.5177 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.3693, allocations: 3.051 MB / 0.5206 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3695, allocations: 0 / 0.5206 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.3699, allocations: 111.4 kB / 0.5207 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.3723, allocations: 1.183 MB / 0.5219 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.3732, allocations: 388.9 kB / 0.5223 GB, free: 140 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.3738, allocations: 450.9 kB / 0.5227 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.3738, allocations: 13.55 kB / 0.5227 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.3742, allocations: 234.4 kB / 0.5229 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3745, allocations: 139.5 kB / 0.5231 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.3745, allocations: 20 kB / 0.5231 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.378, allocations: 2.06 MB / 0.5251 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.3781, allocations: 147.5 kB / 0.5252 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.3783, allocations: 159.4 kB / 0.5254 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.3805, allocations: 1.539 MB / 0.5269 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3805, allocations: 4 kB / 0.5269 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3805, allocations: 4 kB / 0.5269 GB, free: 11.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3805, allocations: 0 / 0.5269 GB, free: 11.38 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.002082/0.3826, allocations: 0.7711 MB / 0.5277 GB, free: 10.56 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3826, allocations: 8.031 kB / 0.5277 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007353/0.3834, allocations: 112.7 kB / 0.5278 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.3838, allocations: 287.6 kB / 0.528 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3838, allocations: 16.56 kB / 0.5281 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.3839, allocations: 31.98 kB / 0.5281 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3849, allocations: 0.5964 MB / 0.5287 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.385, allocations: 7.984 kB / 0.5287 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.385, allocations: 15.98 kB / 0.5287 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.3851, allocations: 20.44 kB / 0.5287 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.3864, allocations: 0.6302 MB / 0.5293 GB, free: 8.793 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.002839/0.3892, allocations: 1.291 MB / 0.5306 GB, free: 7.445 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.3902, allocations: 352.9 kB / 0.5309 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/0.3906, allocations: 173.5 kB / 0.5311 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/0.393, allocations: 1.38 MB / 0.5324 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.393, allocations: 49.42 kB / 0.5325 GB, free: 5.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.296e-06/0.393, allocations: 3.984 kB / 0.5325 GB, free: 5.246 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.01496/0.408, allocations: 3.479 MB / 0.5359 GB, free: 1.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.408, allocations: 89.11 kB / 0.536 GB, free: 1.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4082, allocations: 178.5 kB / 0.5361 GB, free: 1.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.4083, allocations: 29.7 kB / 0.5362 GB, free: 1.246 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.4084, allocations: 180.6 kB / 0.5363 GB, free: 1.062 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.4085, allocations: 190.3 kB / 0.5365 GB, free: 0.875 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.4087, allocations: 114.3 kB / 0.5366 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4089, allocations: 338.7 kB / 0.537 GB, free: 428 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.4096, allocations: 265.1 kB / 0.5372 GB, free: 164 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008606/0.4105, allocations: 433.5 kB / 0.5376 GB, free: 15.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.4121, allocations: 0.6991 MB / 0.5383 GB, free: 14.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4121, allocations: 0 / 0.5383 GB, free: 14.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002008/0.4142, allocations: 0.784 MB / 0.5391 GB, free: 14.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4142, allocations: 11.28 kB / 0.5391 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4142, allocations: 11.88 kB / 0.5391 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.4144, allocations: 58.31 kB / 0.5392 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.4157, allocations: 175.7 kB / 0.5393 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006293/0.4163, allocations: 1.081 MB / 0.5404 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.4171, allocations: 43.95 kB / 0.5404 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/0.4172, allocations: 35.98 kB / 0.5405 GB, free: 12.64 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.0002239/0.4174, allocations: 181.7 kB / 0.5406 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4175, allocations: 27.86 kB / 0.5407 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.4198, allocations: 0.7747 MB / 0.5414 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4198, allocations: 3.938 kB / 0.5414 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4198, allocations: 0 / 0.5414 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.4199, allocations: 104.9 kB / 0.5415 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.42, allocations: 12 kB / 0.5415 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.4208, allocations: 43.95 kB / 0.5416 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.4209, allocations: 31.95 kB / 0.5416 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002965/0.4239, allocations: 0.8103 MB / 0.5424 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00251/0.4264, allocations: 1.034 MB / 0.5434 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007522/0.4272, allocations: 239.9 kB / 0.5436 GB, free: 9.316 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.4273, allocations: 119.2 kB / 0.5437 GB, free: 9.199 MB / 478.1 MB Notification: Performance of Backend: time 5.41e-07/0.4273, allocations: 0 / 0.5437 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.4313, allocations: 1.307 MB / 0.545 GB, free: 7.887 MB / 478.1 MB Notification: Performance of SimCode: time 0.001309/0.4326, allocations: 1.241 MB / 0.5462 GB, free: 6.598 MB / 478.1 MB Notification: Performance of Templates: time 0.1691/0.6017, allocations: 18.66 MB / 0.5645 GB, free: 165.7 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