Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.006148/0.006148, allocations: 94.58 kB / 21.93 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 210.8 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 51.92 kB / 348.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2796, allocations: 49.16 MB / 397.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1853/0.465, allocations: 132.8 MB / 0.518 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.4695, allocations: 2.738 MB / 0.5206 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.4697, allocations: 7.938 kB / 0.5206 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.4703, allocations: 95.48 kB / 0.5207 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.4739, allocations: 1.214 MB / 0.5219 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.4751, allocations: 398.7 kB / 0.5223 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006867/0.4758, allocations: 466.8 kB / 0.5227 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.4759, allocations: 9.75 kB / 0.5228 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.4763, allocations: 231.1 kB / 0.523 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.4766, allocations: 147.5 kB / 0.5231 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.4766, allocations: 16 kB / 0.5231 GB, free: 8.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.4807, allocations: 1.83 MB / 0.5249 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.4809, allocations: 139.7 kB / 0.5251 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.4811, allocations: 139.5 kB / 0.5252 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.4836, allocations: 1.471 MB / 0.5266 GB, free: 5.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4836, allocations: 4 kB / 0.5266 GB, free: 5.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4836, allocations: 3.938 kB / 0.5266 GB, free: 5.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4836, allocations: 0 / 0.5266 GB, free: 5.039 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.002289/0.4859, allocations: 0.7075 MB / 0.5273 GB, free: 4.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.486, allocations: 15.98 kB / 0.5273 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/0.4867, allocations: 108.7 kB / 0.5274 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.4872, allocations: 213.7 kB / 0.5276 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.4872, allocations: 24.59 kB / 0.5277 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.4873, allocations: 31.98 kB / 0.5277 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.4886, allocations: 0.9021 MB / 0.5286 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.4886, allocations: 0 / 0.5286 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.4887, allocations: 12 kB / 0.5286 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.4887, allocations: 20.44 kB / 0.5286 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.4901, allocations: 0.6419 MB / 0.5292 GB, free: 2.227 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.00308/0.4931, allocations: 1.143 MB / 0.5304 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.4942, allocations: 348.9 kB / 0.5307 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.4946, allocations: 169.6 kB / 0.5308 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/0.4968, allocations: 499.5 kB / 0.5313 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/0.4969, allocations: 38.5 kB / 0.5314 GB, free: 15.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.896e-06/0.4969, allocations: 0 / 0.5314 GB, free: 15.98 MB / 462.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.01559/0.5125, allocations: 3.177 MB / 0.5345 GB, free: 12.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.5126, allocations: 81.11 kB / 0.5345 GB, free: 12.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.5128, allocations: 191.3 kB / 0.5347 GB, free: 12.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.5128, allocations: 29.7 kB / 0.5347 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.513, allocations: 184.6 kB / 0.5349 GB, free: 12.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.5132, allocations: 186.4 kB / 0.5351 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.5134, allocations: 118.2 kB / 0.5352 GB, free: 11.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5136, allocations: 334.8 kB / 0.5355 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007916/0.5144, allocations: 273.1 kB / 0.5358 GB, free: 11.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/0.5153, allocations: 425.5 kB / 0.5362 GB, free: 10.76 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.5171, allocations: 0.6991 MB / 0.5369 GB, free: 9.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5171, allocations: 4 kB / 0.5369 GB, free: 9.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002126/0.5192, allocations: 0.7918 MB / 0.5377 GB, free: 9.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.5193, allocations: 8.156 kB / 0.5377 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.5193, allocations: 4 kB / 0.5377 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.5195, allocations: 49.69 kB / 0.5377 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.5207, allocations: 184 kB / 0.5379 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008749/0.5216, allocations: 1.077 MB / 0.5389 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/0.5224, allocations: 43.95 kB / 0.539 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.5224, allocations: 35.98 kB / 0.539 GB, free: 7.734 MB / 462.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.0003265/0.5228, allocations: 181.7 kB / 0.5392 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.5229, allocations: 35.81 kB / 0.5392 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.5252, allocations: 0.7788 MB / 0.54 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5252, allocations: 15.86 kB / 0.54 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.5252, allocations: 4 kB / 0.54 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.5252, allocations: 3.984 kB / 0.54 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/0.5289, allocations: 1.398 MB / 0.5414 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5289, allocations: 0 / 0.5414 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.5299, allocations: 148 kB / 0.5415 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.5301, allocations: 45.69 kB / 0.5416 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.5301, allocations: 23.97 kB / 0.5416 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.5322, allocations: 2.477 MB / 0.544 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5322, allocations: 4.031 kB / 0.544 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.5349, allocations: 1.073 MB / 0.5451 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.535, allocations: 27.8 kB / 0.5451 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.5351, allocations: 12.09 kB / 0.5451 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.5359, allocations: 43.94 kB / 0.5451 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.536, allocations: 47.84 kB / 0.5452 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/0.5361, allocations: 39.97 kB / 0.5452 GB, free: 1.031 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.5362, allocations: 120.4 kB / 0.5453 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5362, allocations: 0 / 0.5453 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001527/0.5377, allocations: 391.2 kB / 0.5457 GB, free: 0.5312 MB / 462.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.002457/0.5402, allocations: 0.8647 MB / 0.5466 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.5423, allocations: 0.6404 MB / 0.5472 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.5423, allocations: 0 / 0.5472 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.5435, allocations: 0.5216 MB / 0.5477 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.5444, allocations: 93 kB / 0.5478 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.5468, allocations: 1.045 MB / 0.5488 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.547, allocations: 172 kB / 0.549 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.5474, allocations: 75.38 kB / 0.549 GB, free: 13.02 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5474, allocations: 0 / 0.549 GB, free: 13.02 MB / 478.1 MB Notification: Performance of Templates: time 0.282/0.8294, allocations: 14.8 MB / 0.5635 GB, free: 35.98 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 11.059670745860785]