Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 163.2 kB / 24.5 MB, free: 3.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 177.1 MB / 204.7 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 65.3 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.09122, allocations: 53.38 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.358/0.4492, allocations: 134.2 MB / 0.501 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.4528, allocations: 3.601 MB / 0.5046 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.4529, allocations: 6.219 kB / 0.5046 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.4533, allocations: 92.17 kB / 0.5047 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.456, allocations: 1.215 MB / 0.5058 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000956/0.457, allocations: 397.4 kB / 0.5062 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.4575, allocations: 463.2 kB / 0.5067 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.4576, allocations: 12.16 kB / 0.5067 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.458, allocations: 258.8 kB / 0.5069 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.4582, allocations: 146.3 kB / 0.5071 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.4582, allocations: 15.72 kB / 0.5071 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/0.4614, allocations: 1.83 MB / 0.5089 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.4615, allocations: 134.5 kB / 0.509 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.4617, allocations: 149 kB / 0.5091 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.4638, allocations: 1.474 MB / 0.5106 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4638, allocations: 0 / 0.5106 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4638, allocations: 2.188 kB / 0.5106 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4638, allocations: 4 kB / 0.5106 GB, free: 13.4 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.002043/0.4659, allocations: 0.7063 MB / 0.5113 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.4659, allocations: 14.42 kB / 0.5113 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007104/0.4666, allocations: 108.1 kB / 0.5114 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.467, allocations: 231.7 kB / 0.5116 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.467, allocations: 17.97 kB / 0.5116 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.4671, allocations: 29.77 kB / 0.5117 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.4683, allocations: 0.8984 MB / 0.5125 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.4683, allocations: 0 / 0.5125 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.4684, allocations: 13.45 kB / 0.5125 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.4684, allocations: 24.09 kB / 0.5126 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.4697, allocations: 0.6373 MB / 0.5132 GB, free: 12 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.002789/0.4725, allocations: 1.137 MB / 0.5143 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.4734, allocations: 351 kB / 0.5146 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.4739, allocations: 165.2 kB / 0.5148 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/0.4759, allocations: 486 kB / 0.5153 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.476, allocations: 38.45 kB / 0.5153 GB, free: 11.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.476, allocations: 0 / 0.5153 GB, free: 11.11 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.01564/0.4916, allocations: 3.216 MB / 0.5184 GB, free: 9.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.4917, allocations: 86.44 kB / 0.5185 GB, free: 9.141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.4918, allocations: 178 kB / 0.5187 GB, free: 9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.4919, allocations: 36.8 kB / 0.5187 GB, free: 8.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.492, allocations: 195.1 kB / 0.5189 GB, free: 8.777 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.4922, allocations: 177.8 kB / 0.5191 GB, free: 8.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.4924, allocations: 126.5 kB / 0.5192 GB, free: 8.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4926, allocations: 342.8 kB / 0.5195 GB, free: 8.207 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007775/0.4933, allocations: 263.7 kB / 0.5198 GB, free: 8.078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009057/0.4942, allocations: 425.8 kB / 0.5202 GB, free: 7.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.496, allocations: 0.6951 MB / 0.5209 GB, free: 7.277 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.496, allocations: 0 / 0.5209 GB, free: 7.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002042/0.498, allocations: 0.781 MB / 0.5216 GB, free: 6.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4981, allocations: 10.38 kB / 0.5216 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4981, allocations: 5.469 kB / 0.5216 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.4983, allocations: 59.81 kB / 0.5217 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.4995, allocations: 179.5 kB / 0.5219 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007745/0.5003, allocations: 1.075 MB / 0.5229 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.5011, allocations: 46.33 kB / 0.523 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.5012, allocations: 36.98 kB / 0.523 GB, free: 5.672 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.0002554/0.5015, allocations: 177.9 kB / 0.5232 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5016, allocations: 25.2 kB / 0.5232 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.5039, allocations: 0.7887 MB / 0.524 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5039, allocations: 5.875 kB / 0.524 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5039, allocations: 1.203 kB / 0.524 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5039, allocations: 3.984 kB / 0.524 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.5073, allocations: 1.404 MB / 0.5253 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.5073, allocations: 4.281 kB / 0.5253 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.5085, allocations: 154.8 kB / 0.5255 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.5086, allocations: 43.97 kB / 0.5255 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.5087, allocations: 23.09 kB / 0.5256 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.5106, allocations: 2.489 MB / 0.528 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.5106, allocations: 6.625 kB / 0.528 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.5133, allocations: 1.071 MB / 0.529 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.5134, allocations: 30.61 kB / 0.5291 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/0.5134, allocations: 9.188 kB / 0.5291 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/0.5143, allocations: 42.7 kB / 0.5291 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.5144, allocations: 43.98 kB / 0.5292 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/0.5145, allocations: 39.3 kB / 0.5292 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.5146, allocations: 120.4 kB / 0.5293 GB, free: 484 kB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5146, allocations: 0 / 0.5293 GB, free: 484 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001289/0.5159, allocations: 392.4 kB / 0.5297 GB, free: 404 kB / 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.002202/0.5181, allocations: 0.8689 MB / 0.5305 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.52, allocations: 0.638 MB / 0.5312 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.52, allocations: 10.67 kB / 0.5312 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.5212, allocations: 0.5218 MB / 0.5317 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008022/0.522, allocations: 110.2 kB / 0.5318 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.5241, allocations: 1.013 MB / 0.5328 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.5243, allocations: 173.5 kB / 0.5329 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008087/0.5251, allocations: 188.7 kB / 0.5331 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.5254, allocations: 69.34 kB / 0.5332 GB, free: 14.23 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5254, allocations: 0 / 0.5332 GB, free: 14.23 MB / 462.1 MB Notification: Performance of Templates: time 0.02584/0.5513, allocations: 16.42 MB / 0.5492 GB, free: 1.012 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.63455120800063]