Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00372/0.00372, allocations: 185.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.474/3.474, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 104.4 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006905/0.0006906, allocations: 12 kB / 326.9 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.5106, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3141/0.8247, allocations: 127.6 MB / 0.4904 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4998/1.325, allocations: 3.386 MB / 0.4937 GB, free: 2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/1.325, allocations: 0 / 0.4937 GB, free: 2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/1.325, allocations: 83 kB / 0.4938 GB, free: 2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004117/1.33, allocations: 0.7939 MB / 0.4945 GB, free: 1.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/1.331, allocations: 291.9 kB / 0.4948 GB, free: 1.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008955/1.332, allocations: 291.6 kB / 0.4951 GB, free: 1.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/1.332, allocations: 12.12 kB / 0.4951 GB, free: 1.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/1.334, allocations: 291.7 kB / 0.4954 GB, free: 1.973 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005461/1.334, allocations: 107 kB / 0.4955 GB, free: 1.973 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/1.334, allocations: 10.56 kB / 0.4955 GB, free: 1.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/1.346, allocations: 1.606 MB / 0.4971 GB, free: 1.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003835/1.346, allocations: 130.8 kB / 0.4972 GB, free: 1.969 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/1.347, allocations: 79.98 kB / 0.4973 GB, free: 1.938 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003916/1.35, allocations: 0.8701 MB / 0.4981 GB, free: 1.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.351, allocations: 0 / 0.4981 GB, free: 1.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.526e-06/1.351, allocations: 0 / 0.4981 GB, free: 1.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/1.351, allocations: 0 / 0.4981 GB, free: 1.891 MB / 378.7 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.005005/1.356, allocations: 0.715 MB / 0.4988 GB, free: 17.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.67e-05/1.356, allocations: 10.56 kB / 0.4988 GB, free: 17.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/1.358, allocations: 109.6 kB / 0.4989 GB, free: 17.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000995/1.359, allocations: 266.4 kB / 0.4992 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/1.359, allocations: 21.09 kB / 0.4992 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/1.359, allocations: 29.09 kB / 0.4992 GB, free: 17.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/1.362, allocations: 0.5923 MB / 0.4998 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/1.362, allocations: 0 / 0.4998 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/1.363, allocations: 9.812 kB / 0.4998 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.713e-05/1.363, allocations: 24.05 kB / 0.4998 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/1.366, allocations: 0.635 MB / 0.5005 GB, free: 17.12 MB / 394.7 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.007805/1.374, allocations: 1.26 MB / 0.5017 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/1.377, allocations: 358.2 kB / 0.502 GB, free: 16.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003962/1.381, allocations: 0.9376 MB / 0.5029 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.73e-05/1.381, allocations: 40.33 kB / 0.503 GB, free: 15.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 4.839e-06/1.381, allocations: 0 / 0.503 GB, free: 15.84 MB / 394.7 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.04071/1.422, allocations: 3.491 MB / 0.5064 GB, free: 14.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.422, allocations: 83.2 kB / 0.5065 GB, free: 14.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/1.422, allocations: 178.5 kB / 0.5066 GB, free: 14.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002181/1.423, allocations: 34.86 kB / 0.5067 GB, free: 14.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/1.423, allocations: 245.7 kB / 0.5069 GB, free: 14.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/1.423, allocations: 175.5 kB / 0.5071 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/1.423, allocations: 11.5 kB / 0.5071 GB, free: 14.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002425/1.424, allocations: 332.5 kB / 0.5074 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/1.426, allocations: 262.9 kB / 0.5077 GB, free: 13.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/1.429, allocations: 430.5 kB / 0.5081 GB, free: 13.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/1.431, allocations: 303.6 kB / 0.5084 GB, free: 13.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/1.431, allocations: 1.75 kB / 0.5084 GB, free: 13.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.006034/1.437, allocations: 0.7811 MB / 0.5091 GB, free: 13.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/1.437, allocations: 10.48 kB / 0.5091 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/1.437, allocations: 5.406 kB / 0.5091 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/1.438, allocations: 56.55 kB / 0.5092 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003214/1.441, allocations: 179.7 kB / 0.5094 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/1.443, allocations: 1.077 MB / 0.5104 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/1.445, allocations: 49.92 kB / 0.5105 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/1.446, allocations: 47.25 kB / 0.5105 GB, free: 12.48 MB / 394.7 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.0006705/1.446, allocations: 176.6 kB / 0.5107 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/1.447, allocations: 26.66 kB / 0.5107 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006438/1.453, allocations: 0.7797 MB / 0.5115 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/1.453, allocations: 4.875 kB / 0.5115 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/1.453, allocations: 4.75 kB / 0.5115 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/1.453, allocations: 0.625 kB / 0.5115 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008803/1.462, allocations: 1.561 MB / 0.513 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.462, allocations: 5.406 kB / 0.513 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/1.465, allocations: 154.6 kB / 0.5131 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/1.466, allocations: 41.2 kB / 0.5132 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/1.466, allocations: 24.09 kB / 0.5132 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004029/1.47, allocations: 2.541 MB / 0.5157 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/1.47, allocations: 5.25 kB / 0.5157 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007862/1.478, allocations: 1.161 MB / 0.5168 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/1.478, allocations: 102.7 kB / 0.5169 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/1.479, allocations: 14.36 kB / 0.5169 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.481, allocations: 42.78 kB / 0.517 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/1.481, allocations: 48.59 kB / 0.517 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/1.481, allocations: 35.19 kB / 0.5171 GB, free: 8.547 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002716/1.482, allocations: 125.1 kB / 0.5172 GB, free: 8.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.61e-07/1.482, allocations: 0 / 0.5172 GB, free: 8.469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003465/1.485, allocations: 377 kB / 0.5175 GB, free: 8.422 MB / 394.7 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.006185/1.491, allocations: 0.6686 MB / 0.5182 GB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00485/1.496, allocations: 0.6402 MB / 0.5188 GB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/1.496, allocations: 2.5 kB / 0.5188 GB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/1.499, allocations: 0.5328 MB / 0.5193 GB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.501, allocations: 95.73 kB / 0.5194 GB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/1.506, allocations: 1.223 MB / 0.5206 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/1.507, allocations: 0.7859 MB / 0.5214 GB, free: 6.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.508, allocations: 76.5 kB / 0.5215 GB, free: 6.578 MB / 394.7 MB Notification: Performance of SimCode: time 3.316e-06/1.508, allocations: 1.859 kB / 0.5215 GB, free: 6.578 MB / 394.7 MB Notification: Performance of Templates: time 0.09902/1.608, allocations: 14.74 MB / 0.5359 GB, free: 15.53 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches