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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 69.64 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 151.6 kB / 24.49 MB, free: 3.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 48.23 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08421, allocations: 52.16 MB / 371.5 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3506/0.4348, allocations: 131.3 MB / 0.491 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003818/0.4387, allocations: 3.615 MB / 0.4946 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.4388, allocations: 1.375 kB / 0.4946 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.4392, allocations: 92.78 kB / 0.4947 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.4422, allocations: 1.22 MB / 0.4959 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.4432, allocations: 396.1 kB / 0.4962 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.4438, allocations: 464.7 kB / 0.4967 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.4438, allocations: 7.312 kB / 0.4967 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.4442, allocations: 238.7 kB / 0.4969 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.4444, allocations: 141.1 kB / 0.497 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.4444, allocations: 16.06 kB / 0.4971 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.4477, allocations: 1.828 MB / 0.4989 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.4478, allocations: 135.7 kB / 0.499 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.448, allocations: 151.9 kB / 0.4991 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.45, allocations: 1.47 MB / 0.5006 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.45, allocations: 0 / 0.5006 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.45, allocations: 6.5 kB / 0.5006 GB, free: 14.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.45, allocations: 0 / 0.5006 GB, free: 14.43 MB / 446.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.00216/0.4522, allocations: 0.7027 MB / 0.5013 GB, free: 14.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4522, allocations: 12.11 kB / 0.5013 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007056/0.4529, allocations: 110.3 kB / 0.5014 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.4534, allocations: 222 kB / 0.5016 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4534, allocations: 18.72 kB / 0.5016 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.4534, allocations: 35.48 kB / 0.5016 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.4546, allocations: 0.8945 MB / 0.5025 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4546, allocations: 2.5 kB / 0.5025 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.4547, allocations: 10.47 kB / 0.5025 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.4547, allocations: 22.47 kB / 0.5025 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.4559, allocations: 0.6447 MB / 0.5032 GB, free: 13.42 MB / 446.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.002778/0.4587, allocations: 1.127 MB / 0.5043 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009226/0.4596, allocations: 353.1 kB / 0.5046 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.46, allocations: 169.2 kB / 0.5048 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/0.4621, allocations: 499 kB / 0.5052 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.4621, allocations: 37.25 kB / 0.5053 GB, free: 12.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.4621, allocations: 1.203 kB / 0.5053 GB, free: 12.92 MB / 446.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.0153/0.4774, allocations: 3.213 MB / 0.5084 GB, free: 11.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.4775, allocations: 86.77 kB / 0.5085 GB, free: 11.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.4776, allocations: 192.5 kB / 0.5087 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.4777, allocations: 35.8 kB / 0.5087 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.4778, allocations: 181.5 kB / 0.5089 GB, free: 11.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.478, allocations: 186.8 kB / 0.5091 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.4782, allocations: 115.4 kB / 0.5092 GB, free: 11.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4783, allocations: 341.3 kB / 0.5095 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007571/0.4791, allocations: 266.1 kB / 0.5098 GB, free: 10.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/0.4799, allocations: 424 kB / 0.5102 GB, free: 10.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.4816, allocations: 0.6984 MB / 0.5108 GB, free: 10.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.4816, allocations: 7 kB / 0.5109 GB, free: 10.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001933/0.4835, allocations: 0.7829 MB / 0.5116 GB, free: 10.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4835, allocations: 8.281 kB / 0.5116 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4835, allocations: 5.156 kB / 0.5116 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.4837, allocations: 53.09 kB / 0.5117 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.4849, allocations: 179 kB / 0.5119 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007429/0.4857, allocations: 1.084 MB / 0.5129 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/0.4865, allocations: 43.77 kB / 0.513 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.4866, allocations: 33.52 kB / 0.513 GB, free: 8.93 MB / 446.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.000234/0.4868, allocations: 183.8 kB / 0.5132 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4869, allocations: 28.2 kB / 0.5132 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.4891, allocations: 0.7838 MB / 0.514 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4891, allocations: 5.125 kB / 0.514 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4891, allocations: 0 / 0.514 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.4891, allocations: 6.453 kB / 0.514 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.4923, allocations: 1.408 MB / 0.5153 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4923, allocations: 3.938 kB / 0.5153 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.4934, allocations: 148.7 kB / 0.5155 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.4935, allocations: 44.44 kB / 0.5155 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.4936, allocations: 24.88 kB / 0.5155 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.4954, allocations: 2.477 MB / 0.518 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.4954, allocations: 6.625 kB / 0.518 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.498, allocations: 1.078 MB / 0.519 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.4981, allocations: 39.84 kB / 0.5191 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.4981, allocations: 11.62 kB / 0.5191 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/0.499, allocations: 37.34 kB / 0.5191 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.4991, allocations: 49 kB / 0.5192 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/0.4991, allocations: 36.94 kB / 0.5192 GB, free: 4.711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.691e-05/0.4992, allocations: 121.7 kB / 0.5193 GB, free: 4.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4992, allocations: 2.531 kB / 0.5193 GB, free: 4.629 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001446/0.5007, allocations: 391.9 kB / 0.5197 GB, free: 4.57 MB / 446.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 (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002323/0.503, allocations: 0.8693 MB / 0.5205 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.5049, allocations: 0.6326 MB / 0.5212 GB, free: 4.016 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5049, allocations: 0 / 0.5212 GB, free: 4.016 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.506, allocations: 0.5222 MB / 0.5217 GB, free: 3.719 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.5068, allocations: 102.2 kB / 0.5218 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.5089, allocations: 1.016 MB / 0.5228 GB, free: 3.055 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.5091, allocations: 175.9 kB / 0.5229 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008261/0.5099, allocations: 179.9 kB / 0.5231 GB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.5102, allocations: 69.56 kB / 0.5232 GB, free: 2.797 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5102, allocations: 0 / 0.5232 GB, free: 2.797 MB / 446.1 MB Notification: Performance of Templates: time 0.02482/0.535, allocations: 16.27 MB / 0.539 GB, free: 8.727 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.802226754021831]