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.001508/0.001508, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 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.00175/0.00175, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9253/0.9253, allocations: 177 MB / 204.8 MB, free: 5.242 MB / 186.7 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 1.764e-06/1.764e-06, allocations: 0 / 272.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.087e-05, allocations: 2.312 kB / 272.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2341/0.2342, allocations: 148.5 MB / 421.4 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.2374, allocations: 4.065 MB / 425.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2375, allocations: 4 kB / 425.4 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.2379, allocations: 95.38 kB / 425.5 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.2399, allocations: 1.241 MB / 426.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006951/0.2406, allocations: 402.5 kB / 427.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004706/0.2411, allocations: 470.7 kB / 427.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.2411, allocations: 10.34 kB / 427.6 MB, free: 7.012 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.2415, allocations: 307 kB / 427.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.2417, allocations: 127.7 kB / 428.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.2417, allocations: 16 kB / 428.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.2442, allocations: 1.857 MB / 429.9 MB, free: 4.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2443, allocations: 147.7 kB / 430.1 MB, free: 4.562 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2444, allocations: 135.7 kB / 430.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.2463, allocations: 1.555 MB / 431.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2463, allocations: 0 / 431.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2463, allocations: 0 / 431.8 MB, free: 2.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2464, allocations: 0 / 431.8 MB, free: 2.871 MB / 378.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.001393/0.2478, allocations: 0.7812 MB / 432.5 MB, free: 2.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2478, allocations: 11.98 kB / 432.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007989/0.2486, allocations: 164.5 kB / 432.7 MB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.2489, allocations: 216.4 kB / 432.9 MB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.2489, allocations: 24.59 kB / 433 MB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.249, allocations: 32 kB / 433 MB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.2495, allocations: 0.6976 MB / 433.7 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2496, allocations: 3.938 kB / 433.7 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.2496, allocations: 16 kB / 433.7 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.2496, allocations: 20.48 kB / 433.7 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.25, allocations: 282.8 kB / 434 MB, free: 496 kB / 378.7 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.1423/0.3923, allocations: 1.101 MB / 435.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.3927, allocations: 281.7 kB / 435.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.3929, allocations: 127.3 kB / 435.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.3941, allocations: 476.1 kB / 436 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3941, allocations: 40.73 kB / 436 MB, free: 14.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.627e-06/0.3941, allocations: 1.594 kB / 436 MB, free: 14.07 MB / 378.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.006849/0.401, allocations: 2.654 MB / 438.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.401, allocations: 90.3 kB / 438.7 MB, free: 13.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4011, allocations: 242.7 kB / 439 MB, free: 13.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.4012, allocations: 34.67 kB / 439 MB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.4013, allocations: 229.3 kB / 439.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4014, allocations: 186.4 kB / 439.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.4015, allocations: 120.7 kB / 439.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.4016, allocations: 0.5114 MB / 440.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.4019, allocations: 175.4 kB / 440.2 MB, free: 12.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.4022, allocations: 405.5 kB / 440.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006115/0.4028, allocations: 0.5868 MB / 441.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4028, allocations: 2.688 kB / 441.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008501/0.4037, allocations: 0.6375 MB / 441.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4037, allocations: 9.578 kB / 441.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4037, allocations: 8.844 kB / 441.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.4038, allocations: 56.92 kB / 441.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.4044, allocations: 173.2 kB / 442.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003299/0.4047, allocations: 1.607 MB / 443.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.405, allocations: 30.73 kB / 443.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.4051, allocations: 36.88 kB / 443.8 MB, free: 10.02 MB / 378.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 () * 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.0001578/0.4052, allocations: 193.2 kB / 444 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4053, allocations: 48.39 kB / 444 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009248/0.4063, allocations: 0.6444 MB / 444.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4063, allocations: 5.469 kB / 444.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4063, allocations: 3.125 kB / 444.7 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.4063, allocations: 2.969 kB / 444.7 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.4078, allocations: 1.366 MB / 446 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4078, allocations: 3.594 kB / 446 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004816/0.4083, allocations: 133.5 kB / 446.2 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.4084, allocations: 53.77 kB / 446.2 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.4084, allocations: 24.27 kB / 446.2 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007826/0.4092, allocations: 3.451 MB / 449.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4092, allocations: 1 kB / 449.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.4101, allocations: 1.035 MB / 450.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.4102, allocations: 28.25 kB / 450.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.4102, allocations: 18.16 kB / 450.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.4106, allocations: 26.28 kB / 450.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.4106, allocations: 44.69 kB / 450.8 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.4107, allocations: 40.64 kB / 450.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.4107, allocations: 153.5 kB / 451 MB, free: 5.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4107, allocations: 0 / 451 MB, free: 5.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001067/0.4118, allocations: 401.4 kB / 451.4 MB, free: 5.059 MB / 378.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 () * 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.001645/0.4134, allocations: 0.8829 MB / 452.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007921/0.4142, allocations: 0.5249 MB / 452.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4142, allocations: 2.781 kB / 452.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.4146, allocations: 0.605 MB / 453.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.4151, allocations: 127.6 kB / 453.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.4164, allocations: 0.8018 MB / 454.4 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.395e-05/0.4165, allocations: 112.2 kB / 454.5 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005123/0.417, allocations: 178.5 kB / 454.6 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.4172, allocations: 66.95 kB / 454.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of SimCode: time 9.11e-07/0.4172, allocations: 1.984 kB / 454.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of Templates: time 0.01866/0.4358, allocations: 20.02 MB / 474.7 MB, free: 15.58 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.66231196699664]