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.001002/0.001002, allocations: 89.91 kB / 22.22 MB, free: 2.281 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.0009828/0.0009828, allocations: 160.9 kB / 25.61 MB, free: 8.902 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.873/0.873, allocations: 177 MB / 205.9 MB, free: 4.465 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.352e-06/1.352e-06, allocations: 0 / 274.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.225e-05, allocations: 3.125 kB / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2321/0.2322, allocations: 145.7 MB / 419.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.2355, allocations: 4.022 MB / 423.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.2356, allocations: 4 kB / 423.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.2361, allocations: 103.3 kB / 423.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.2383, allocations: 1.236 MB / 425.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.239, allocations: 402.5 kB / 425.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.2395, allocations: 466.7 kB / 426 MB, free: 8.613 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.2395, allocations: 10.34 kB / 426 MB, free: 8.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.2399, allocations: 307 kB / 426.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.2401, allocations: 139.6 kB / 426.5 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.2402, allocations: 16 kB / 426.5 MB, free: 8.148 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.2429, allocations: 1.85 MB / 428.3 MB, free: 6.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.243, allocations: 155.6 kB / 428.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2431, allocations: 131.7 kB / 428.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.2448, allocations: 1.551 MB / 430.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2448, allocations: 0 / 430.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2448, allocations: 3.938 kB / 430.2 MB, free: 4.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2448, allocations: 0 / 430.2 MB, free: 4.453 MB / 346.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.001296/0.2461, allocations: 0.7766 MB / 430.9 MB, free: 3.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2461, allocations: 8.031 kB / 431 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000511/0.2466, allocations: 160.4 kB / 431.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.2469, allocations: 208.4 kB / 431.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2469, allocations: 28.53 kB / 431.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.247, allocations: 28 kB / 431.4 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.2475, allocations: 0.671 MB / 432 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2475, allocations: 0 / 432 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.2476, allocations: 12 kB / 432.1 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.2476, allocations: 20.48 kB / 432.1 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.2478, allocations: 231.3 kB / 432.3 MB, free: 2.176 MB / 346.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.001475/0.2493, allocations: 1.081 MB / 433.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.2496, allocations: 253 kB / 433.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.2497, allocations: 107.2 kB / 433.7 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009758/0.2507, allocations: 467.2 kB / 434.2 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2507, allocations: 45.39 kB / 434.2 MB, free: 168 kB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.2507, allocations: 0 / 434.2 MB, free: 168 kB / 346.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.005904/0.2566, allocations: 2.388 MB / 436.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2567, allocations: 81.11 kB / 436.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2568, allocations: 239.7 kB / 436.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.2568, allocations: 37.64 kB / 437 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.2569, allocations: 231.3 kB / 437.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.257, allocations: 190.4 kB / 437.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.2572, allocations: 123.9 kB / 437.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2573, allocations: 0.5079 MB / 438 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2575, allocations: 137.2 kB / 438.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.2578, allocations: 375.7 kB / 438.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/0.2582, allocations: 0.5211 MB / 439 MB, free: 10.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2582, allocations: 4 kB / 439 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007133/0.2589, allocations: 0.5686 MB / 439.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.259, allocations: 8 kB / 439.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.259, allocations: 4 kB / 439.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/0.2591, allocations: 55.34 kB / 439.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.2596, allocations: 163.8 kB / 439.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005717/0.2602, allocations: 1.608 MB / 441.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.2605, allocations: 31.92 kB / 441.5 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.2606, allocations: 35.98 kB / 441.5 MB, free: 8.43 MB / 362.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.0001689/0.2608, allocations: 188.4 kB / 441.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2609, allocations: 47.75 kB / 441.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007865/0.2617, allocations: 0.5818 MB / 442.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2617, allocations: 8 kB / 442.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2617, allocations: 0 / 442.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2617, allocations: 3.984 kB / 442.3 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.2631, allocations: 1.275 MB / 443.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2631, allocations: 0 / 443.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.2636, allocations: 139.8 kB / 443.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.877e-05/0.2637, allocations: 47.56 kB / 443.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.2637, allocations: 27.97 kB / 443.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.2649, allocations: 3.402 MB / 447.2 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2649, allocations: 4 kB / 447.2 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/0.2659, allocations: 0.9555 MB / 448.2 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.2659, allocations: 31.8 kB / 448.2 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.2659, allocations: 12 kB / 448.2 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.2663, allocations: 27.98 kB / 448.2 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.2663, allocations: 47.84 kB / 448.3 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.2664, allocations: 27.97 kB / 448.3 MB, free: 1.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.645e-05/0.2664, allocations: 159.4 kB / 448.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2664, allocations: 0 / 448.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001063/0.2675, allocations: 395.2 kB / 448.9 MB, free: 0.668 MB / 362.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.001573/0.2691, allocations: 0.8999 MB / 449.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.2697, allocations: 453.2 kB / 450.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2697, allocations: 4 kB / 450.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.2701, allocations: 0.5708 MB / 450.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.2706, allocations: 131.3 kB / 450.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2718, allocations: 0.7946 MB / 451.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.222e-05/0.2718, allocations: 106.5 kB / 451.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004786/0.2723, allocations: 163.1 kB / 452 MB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.2727, allocations: 214 kB / 452.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2727, allocations: 0 / 452.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of Templates: time 0.02018/0.2929, allocations: 20.38 MB / 472.6 MB, free: 8.926 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.3982364530675113]