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.001376/0.001376, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001545/0.001545, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.413/1.413, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001817/0.001817, allocations: 58.73 kB / 347.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2526, allocations: 49.16 MB / 396.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1751/0.4276, allocations: 132.8 MB / 0.5172 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.4316, allocations: 2.749 MB / 0.5199 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.4318, allocations: 0 / 0.5199 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.4323, allocations: 91.5 kB / 0.52 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.4355, allocations: 1.217 MB / 0.5212 GB, free: 9.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.4366, allocations: 390.7 kB / 0.5216 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006742/0.4373, allocations: 462.9 kB / 0.522 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.4373, allocations: 9.734 kB / 0.522 GB, free: 9.008 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.4378, allocations: 234.7 kB / 0.5222 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.4381, allocations: 139.5 kB / 0.5224 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.4382, allocations: 16 kB / 0.5224 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.4421, allocations: 1.834 MB / 0.5242 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.4423, allocations: 139.6 kB / 0.5243 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.4425, allocations: 147.5 kB / 0.5245 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.4452, allocations: 1.472 MB / 0.5259 GB, free: 5.035 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4452, allocations: 0 / 0.5259 GB, free: 5.035 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4452, allocations: 3.938 kB / 0.5259 GB, free: 5.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.4452, allocations: 0 / 0.5259 GB, free: 5.031 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.002234/0.4474, allocations: 0.7036 MB / 0.5266 GB, free: 4.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4475, allocations: 15.98 kB / 0.5266 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007641/0.4482, allocations: 108.7 kB / 0.5267 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/0.4488, allocations: 229.6 kB / 0.5269 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.4488, allocations: 16.66 kB / 0.5269 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.4489, allocations: 32 kB / 0.527 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.4503, allocations: 0.8904 MB / 0.5278 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4504, allocations: 4 kB / 0.5278 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.4504, allocations: 12 kB / 0.5279 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.4504, allocations: 20.42 kB / 0.5279 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.4519, allocations: 0.6458 MB / 0.5285 GB, free: 2.215 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.003211/0.4551, allocations: 1.135 MB / 0.5296 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.4561, allocations: 352.8 kB / 0.5299 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.4566, allocations: 173.6 kB / 0.5301 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002264/0.4589, allocations: 491.3 kB / 0.5306 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.574e-05/0.459, allocations: 38.56 kB / 0.5306 GB, free: 15.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.459, allocations: 0 / 0.5306 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.01565/0.4746, allocations: 3.189 MB / 0.5337 GB, free: 12.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.4747, allocations: 89.03 kB / 0.5338 GB, free: 12.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.4749, allocations: 187.3 kB / 0.534 GB, free: 12.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.4749, allocations: 37.7 kB / 0.534 GB, free: 12.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.4751, allocations: 180.5 kB / 0.5342 GB, free: 12.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.4753, allocations: 182.4 kB / 0.5344 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.4755, allocations: 114.3 kB / 0.5345 GB, free: 11.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4757, allocations: 342.8 kB / 0.5348 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008049/0.4765, allocations: 265.1 kB / 0.5351 GB, free: 11.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009743/0.4774, allocations: 421.5 kB / 0.5355 GB, free: 10.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.4792, allocations: 0.703 MB / 0.5362 GB, free: 9.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.4792, allocations: 4 kB / 0.5362 GB, free: 9.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002131/0.4813, allocations: 0.7877 MB / 0.5369 GB, free: 9.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4813, allocations: 8.156 kB / 0.5369 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4813, allocations: 4 kB / 0.5369 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.4816, allocations: 57.69 kB / 0.537 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.4828, allocations: 176.2 kB / 0.5372 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008194/0.4836, allocations: 1.077 MB / 0.5382 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.4844, allocations: 40.14 kB / 0.5383 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.4845, allocations: 43.97 kB / 0.5383 GB, free: 7.723 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.0002729/0.4848, allocations: 181.5 kB / 0.5385 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.4849, allocations: 31.81 kB / 0.5385 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.4872, allocations: 0.7749 MB / 0.5393 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.4873, allocations: 11.92 kB / 0.5393 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4873, allocations: 4 kB / 0.5393 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4873, allocations: 0 / 0.5393 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.4909, allocations: 1.405 MB / 0.5406 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4909, allocations: 7.938 kB / 0.5406 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.4921, allocations: 148 kB / 0.5408 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.4922, allocations: 41.69 kB / 0.5408 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/0.4923, allocations: 27.97 kB / 0.5409 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.4944, allocations: 2.473 MB / 0.5433 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4944, allocations: 4.031 kB / 0.5433 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.4972, allocations: 1.073 MB / 0.5443 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.4973, allocations: 35.73 kB / 0.5444 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/0.4974, allocations: 11.94 kB / 0.5444 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.4982, allocations: 44 kB / 0.5444 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.4983, allocations: 39.92 kB / 0.5444 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.27e-05/0.4984, allocations: 35.97 kB / 0.5445 GB, free: 1.027 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.4985, allocations: 120.4 kB / 0.5446 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4985, allocations: 0 / 0.5446 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001381/0.4999, allocations: 391.2 kB / 0.545 GB, free: 0.5273 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.002613/0.5025, allocations: 0.8687 MB / 0.5458 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.5045, allocations: 0.6364 MB / 0.5464 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5045, allocations: 0 / 0.5464 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.5057, allocations: 0.5294 MB / 0.547 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007756/0.5065, allocations: 95.84 kB / 0.5471 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.5087, allocations: 0.9969 MB / 0.548 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.5089, allocations: 180 kB / 0.5482 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008939/0.5098, allocations: 179.1 kB / 0.5484 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.5102, allocations: 59.39 kB / 0.5484 GB, free: 12.89 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5102, allocations: 0 / 0.5484 GB, free: 12.89 MB / 478.1 MB Notification: Performance of Templates: time 0.1991/0.7093, allocations: 16.72 MB / 0.5647 GB, free: 162.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/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: 5.9788969326764345]