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.0008206/0.0008207, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0008425/0.0008425, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.355/1.355, allocations: 223.3 MB / 241.2 MB, free: 5.262 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002358, allocations: 8.438 kB / 300.8 MB, free: 5.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08541/0.08566, allocations: 50.43 MB / 351.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3014/0.3871, allocations: 138.4 MB / 489.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.391, allocations: 3.755 MB / 493.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3912, allocations: 0 / 493.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.3915, allocations: 73.45 kB / 493.4 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.3935, allocations: 0.8003 MB / 494.2 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.3943, allocations: 282.5 kB / 494.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.3949, allocations: 0.5203 MB / 495 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.3949, allocations: 16.98 kB / 495 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.3953, allocations: 203.1 kB / 495.2 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.3955, allocations: 163.5 kB / 495.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3956, allocations: 10.84 kB / 495.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.3984, allocations: 1.577 MB / 497 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.3986, allocations: 131.7 kB / 497.1 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.3987, allocations: 84.98 kB / 497.2 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.3999, allocations: 0.9187 MB / 498.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3999, allocations: 3.344 kB / 498.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3999, allocations: 0 / 498.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3999, allocations: 3.938 kB / 498.1 MB, free: 4.301 MB / 366.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.001877/0.4018, allocations: 0.6963 MB / 498.8 MB, free: 3.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4018, allocations: 10.88 kB / 498.8 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.4039, allocations: 266.2 kB / 499.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.4042, allocations: 282.5 kB / 499.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.4043, allocations: 16.91 kB / 499.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.4043, allocations: 30.66 kB / 499.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.4056, allocations: 0.6729 MB / 0.4884 GB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4056, allocations: 3.984 kB / 0.4884 GB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.4057, allocations: 14.91 kB / 0.4884 GB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.4057, allocations: 17.53 kB / 0.4884 GB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.4071, allocations: 0.766 MB / 0.4892 GB, free: 3.012 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.003499/0.4107, allocations: 1.798 MB / 0.4909 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4117, allocations: 477.1 kB / 0.4914 GB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/0.4123, allocations: 233.1 kB / 0.4916 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002119/0.4144, allocations: 1.382 MB / 0.4929 GB, free: 420 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.4144, allocations: 38.94 kB / 0.493 GB, free: 380 kB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.385e-06/0.4145, allocations: 4 kB / 0.493 GB, free: 376 kB / 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.01247/0.4269, allocations: 3.634 MB / 0.4965 GB, free: 13.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.427, allocations: 85.05 kB / 0.4966 GB, free: 13.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.4272, allocations: 180.5 kB / 0.4968 GB, free: 13.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.4272, allocations: 36.08 kB / 0.4968 GB, free: 12.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.4273, allocations: 171.8 kB / 0.497 GB, free: 12.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.4275, allocations: 173.7 kB / 0.4971 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.4275, allocations: 13.44 kB / 0.4972 GB, free: 12.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4277, allocations: 346.3 kB / 0.4975 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.4283, allocations: 260.4 kB / 0.4977 GB, free: 12.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008039/0.4292, allocations: 428.8 kB / 0.4981 GB, free: 11.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000726/0.4299, allocations: 305.7 kB / 0.4984 GB, free: 11.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4299, allocations: 0 / 0.4984 GB, free: 11.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00181/0.4317, allocations: 0.775 MB / 0.4992 GB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4318, allocations: 12.09 kB / 0.4992 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4318, allocations: 7.984 kB / 0.4992 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.432, allocations: 60.38 kB / 0.4993 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.4331, allocations: 174.7 kB / 0.4994 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007638/0.4339, allocations: 1.09 MB / 0.5005 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.4346, allocations: 42.53 kB / 0.5005 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.4347, allocations: 40.28 kB / 0.5006 GB, free: 9.551 MB / 382.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.0002457/0.435, allocations: 174 kB / 0.5007 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.4351, allocations: 27.72 kB / 0.5008 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.4372, allocations: 0.787 MB / 0.5015 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4373, allocations: 4 kB / 0.5015 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4373, allocations: 4 kB / 0.5015 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4373, allocations: 7.969 kB / 0.5016 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.4403, allocations: 1.553 MB / 0.5031 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4404, allocations: 4 kB / 0.5031 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.4414, allocations: 148 kB / 0.5032 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.4415, allocations: 41.69 kB / 0.5033 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/0.4416, allocations: 23.97 kB / 0.5033 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.4433, allocations: 2.537 MB / 0.5058 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.4434, allocations: 7.969 kB / 0.5058 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.4458, allocations: 1.072 MB / 0.5068 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.4459, allocations: 100.8 kB / 0.5069 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.446, allocations: 12 kB / 0.5069 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.4467, allocations: 44 kB / 0.507 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.4468, allocations: 43.88 kB / 0.507 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/0.4469, allocations: 36.06 kB / 0.507 GB, free: 3.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.447, allocations: 128.3 kB / 0.5072 GB, free: 2.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.447, allocations: 4 kB / 0.5072 GB, free: 2.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001306/0.4483, allocations: 387.7 kB / 0.5075 GB, free: 2.516 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.002098/0.4504, allocations: 0.6626 MB / 0.5082 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.4521, allocations: 0.6477 MB / 0.5088 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4521, allocations: 8.25 kB / 0.5088 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009919/0.4531, allocations: 0.5351 MB / 0.5093 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/0.4539, allocations: 99.38 kB / 0.5094 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.4558, allocations: 1.18 MB / 0.5106 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.4562, allocations: 0.7891 MB / 0.5114 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001135/0.4573, allocations: 187.1 kB / 0.5115 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.4577, allocations: 71.31 kB / 0.5116 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4577, allocations: 0 / 0.5116 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.02308/0.4808, allocations: 15.27 MB / 0.5265 GB, free: 14.99 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/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