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.001339/0.001339, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009989/0.0009989, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 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.9328/0.9328, allocations: 177 MB / 205.2 MB, free: 5.043 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.322e-06/1.322e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.486e-05, allocations: 5.266 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2343/0.2343, allocations: 147.9 MB / 421.2 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.2388, allocations: 4.069 MB / 425.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.2389, allocations: 0 / 425.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.2393, allocations: 99.36 kB / 425.4 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.2419, allocations: 1.249 MB / 426.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.2428, allocations: 410.4 kB / 427 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005647/0.2433, allocations: 458.7 kB / 427.5 MB, free: 7.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.2434, allocations: 18.44 kB / 427.5 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.2439, allocations: 307 kB / 427.8 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.2441, allocations: 127.6 kB / 427.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.2441, allocations: 16 kB / 427.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.2472, allocations: 1.845 MB / 429.8 MB, free: 4.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.2473, allocations: 143.7 kB / 429.9 MB, free: 4.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.2475, allocations: 135.8 kB / 430.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.2491, allocations: 1.554 MB / 431.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2491, allocations: 0 / 431.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2491, allocations: 4 kB / 431.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2491, allocations: 0 / 431.6 MB, free: 2.934 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.001051/0.2501, allocations: 0.6409 MB / 432.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.2502, allocations: 11.98 kB / 432.3 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.2506, allocations: 156.5 kB / 432.4 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2508, allocations: 205.5 kB / 432.6 MB, free: 1.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2509, allocations: 20.59 kB / 432.6 MB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.2509, allocations: 32 kB / 432.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.2514, allocations: 0.6518 MB / 433.3 MB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2514, allocations: 3.938 kB / 433.3 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.2514, allocations: 16 kB / 433.3 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.2514, allocations: 20.48 kB / 433.4 MB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.2517, allocations: 194.2 kB / 433.5 MB, free: 0.8555 MB / 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.1326/0.3842, allocations: 0.8717 MB / 434.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.3846, allocations: 205.4 kB / 434.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3847, allocations: 86.25 kB / 434.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.3857, allocations: 471 kB / 435.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3857, allocations: 40.11 kB / 435.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.3857, allocations: 1.094 kB / 435.2 MB, free: 14.45 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.005949/0.3917, allocations: 2.42 MB / 437.6 MB, free: 13.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.3917, allocations: 82.94 kB / 437.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.3918, allocations: 178.6 kB / 437.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.3918, allocations: 35.2 kB / 437.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.3919, allocations: 180 kB / 438.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.392, allocations: 179.1 kB / 438.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.3921, allocations: 115 kB / 438.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.3921, allocations: 338.7 kB / 438.7 MB, free: 13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.3923, allocations: 113.1 kB / 438.8 MB, free: 13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3925, allocations: 273.5 kB / 439.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.3929, allocations: 454.6 kB / 439.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3929, allocations: 7.234 kB / 439.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005631/0.3935, allocations: 448.9 kB / 440 MB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3935, allocations: 8.438 kB / 440 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.3935, allocations: 9.312 kB / 440 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.3936, allocations: 50.78 kB / 440 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.3941, allocations: 161.2 kB / 440.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.4049, allocations: 4.107 MB / 444.3 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.4052, allocations: 29.97 kB / 444.3 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.4052, allocations: 35.7 kB / 444.4 MB, free: 9.801 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.4054, allocations: 150.5 kB / 444.5 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.4055, allocations: 43.42 kB / 444.6 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000548/0.406, allocations: 477.8 kB / 445 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.406, allocations: 3.562 kB / 445 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.406, allocations: 3.531 kB / 445 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.406, allocations: 7.234 kB / 445 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.407, allocations: 0.8323 MB / 445.9 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.407, allocations: 2.469 kB / 445.9 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.4074, allocations: 128.3 kB / 446 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.822e-05/0.4075, allocations: 46.61 kB / 446 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.4075, allocations: 17.42 kB / 446.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005323/0.408, allocations: 2.31 MB / 448.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.408, allocations: 5.031 kB / 448.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.4086, allocations: 0.739 MB / 449.1 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.4086, allocations: 21.66 kB / 449.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.4087, allocations: 16.41 kB / 449.2 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.409, allocations: 23.08 kB / 449.2 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.409, allocations: 48.17 kB / 449.2 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.409, allocations: 29.05 kB / 449.3 MB, free: 6.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.651e-05/0.4091, allocations: 47.12 kB / 449.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4091, allocations: 0 / 449.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008396/0.4099, allocations: 398.4 kB / 449.7 MB, free: 6.641 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.001319/0.4112, allocations: 0.8527 MB / 450.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.4117, allocations: 0.613 MB / 451.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.4117, allocations: 6.656 kB / 451.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.412, allocations: 431.2 kB / 451.6 MB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.4124, allocations: 123.7 kB / 451.7 MB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/0.4133, allocations: 0.7327 MB / 452.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.408e-05/0.4134, allocations: 113.4 kB / 452.5 MB, free: 5.492 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.4138, allocations: 155.8 kB / 452.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.4142, allocations: 177.1 kB / 452.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.4142, allocations: 0 / 452.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of Templates: time 0.01676/0.4309, allocations: 20.35 MB / 473.2 MB, free: 0.7383 MB / 378.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.5593519932590425]