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.001507/0.001506, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001109/0.001108, allocations: 86.69 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.444e-05, allocations: 7.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 47.57 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.315/2.418, allocations: 0.7379 GB / 1.098 GB, free: 82.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/2.418, allocations: 66.56 kB / 1.098 GB, free: 82.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6494/3.067, allocations: 107.2 MB / 1.203 GB, free: 120.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/3.067, allocations: 0 / 1.203 GB, free: 120.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/3.067, allocations: 5.438 kB / 1.203 GB, free: 120.4 MB / 426.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.003786/3.071, allocations: 0.7622 MB / 1.204 GB, free: 119.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/3.071, allocations: 7.656 kB / 1.204 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/3.074, allocations: 247.9 kB / 1.204 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/3.075, allocations: 287.9 kB / 1.204 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/3.075, allocations: 22.27 kB / 1.204 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/3.075, allocations: 33.94 kB / 1.204 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/3.077, allocations: 0.6102 MB / 1.205 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/3.077, allocations: 3.188 kB / 1.205 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/3.077, allocations: 22.2 kB / 1.205 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/3.077, allocations: 11.53 kB / 1.205 GB, free: 119.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/3.079, allocations: 0.6654 MB / 1.206 GB, free: 119.7 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005928/3.085, allocations: 1.803 MB / 1.207 GB, free: 118.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/3.086, allocations: 389.8 kB / 1.208 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/3.086, allocations: 192.3 kB / 1.208 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/3.089, allocations: 0.9101 MB / 1.209 GB, free: 118 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/3.089, allocations: 43.41 kB / 1.209 GB, free: 118 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.536e-06/3.089, allocations: 2.656 kB / 1.209 GB, free: 118 MB / 426.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.0166/3.105, allocations: 2.788 MB / 1.212 GB, free: 117.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/3.105, allocations: 81.08 kB / 1.212 GB, free: 117 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/3.106, allocations: 166.3 kB / 1.212 GB, free: 116.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/3.106, allocations: 38.52 kB / 1.212 GB, free: 116.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/3.106, allocations: 241.3 kB / 1.212 GB, free: 116.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/3.106, allocations: 178.1 kB / 1.212 GB, free: 116.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/3.106, allocations: 12.56 kB / 1.212 GB, free: 116.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/3.106, allocations: 334.3 kB / 1.213 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/3.107, allocations: 206.5 kB / 1.213 GB, free: 116.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/3.107, allocations: 368.8 kB / 1.213 GB, free: 116.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/3.108, allocations: 254.9 kB / 1.213 GB, free: 116.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/3.108, allocations: 0 / 1.213 GB, free: 116.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001862/3.11, allocations: 0.6809 MB / 1.214 GB, free: 116 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/3.11, allocations: 10.8 kB / 1.214 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/3.11, allocations: 6.75 kB / 1.214 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/3.11, allocations: 53.58 kB / 1.214 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/3.112, allocations: 183.3 kB / 1.214 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008027/3.113, allocations: 1.076 MB / 1.215 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/3.115, allocations: 55.14 kB / 1.215 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/3.115, allocations: 36.17 kB / 1.215 GB, free: 114.9 MB / 426.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 () * 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.0002792/3.115, allocations: 138.1 kB / 1.216 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/3.115, allocations: 26.81 kB / 1.216 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/3.118, allocations: 0.6893 MB / 1.216 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/3.118, allocations: 3.781 kB / 1.216 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/3.118, allocations: 2.906 kB / 1.216 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/3.118, allocations: 0 / 1.216 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/3.122, allocations: 1.467 MB / 1.218 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/3.122, allocations: 4.031 kB / 1.218 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/3.124, allocations: 151.5 kB / 1.218 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/3.124, allocations: 32.7 kB / 1.218 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-05/3.124, allocations: 26.12 kB / 1.218 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/3.126, allocations: 2.532 MB / 1.22 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/3.126, allocations: 3.875 kB / 1.22 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/3.128, allocations: 1.017 MB / 1.221 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/3.128, allocations: 100.5 kB / 1.222 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/3.128, allocations: 23.2 kB / 1.222 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/3.129, allocations: 37.7 kB / 1.222 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/3.129, allocations: 43.95 kB / 1.222 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/3.13, allocations: 31.69 kB / 1.222 GB, free: 110.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000116/3.13, allocations: 124.8 kB / 1.222 GB, free: 110.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.13, allocations: 6.906 kB / 1.222 GB, free: 110.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002096/3.132, allocations: 444.7 kB / 1.222 GB, free: 110.7 MB / 426.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 () * 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.0042/3.136, allocations: 1.144 MB / 1.223 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001795/3.138, allocations: 0.5453 MB / 1.224 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/3.138, allocations: 1.25 kB / 1.224 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009431/3.139, allocations: 489.2 kB / 1.224 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/3.14, allocations: 96.3 kB / 1.224 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/3.142, allocations: 0.7697 MB / 1.225 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/3.142, allocations: 0.7951 MB / 1.226 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007553/3.143, allocations: 78.62 kB / 1.226 GB, free: 108.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/3.143, allocations: 0 / 1.226 GB, free: 108.5 MB / 426.7 MB Notification: Performance of Templates: time 0.033/3.176, allocations: 17.77 MB / 1.243 GB, free: 103.9 MB / 426.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