Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 145.4 kB / 24.89 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9814/0.9814, allocations: 173.4 MB / 201.5 MB, free: 9.199 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.368e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2308/0.2308, allocations: 145 MB / 413.5 MB, free: 7.965 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.2339, allocations: 4.06 MB / 417.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.234, allocations: 3.938 kB / 417.6 MB, free: 3.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.2343, allocations: 99.41 kB / 417.7 MB, free: 3.805 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.2363, allocations: 1.217 MB / 418.9 MB, free: 2.582 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008574/0.2371, allocations: 390.5 kB / 419.3 MB, free: 2.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.2376, allocations: 466.7 kB / 419.7 MB, free: 1.742 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.2376, allocations: 10.45 kB / 419.7 MB, free: 1.727 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.238, allocations: 295 kB / 420 MB, free: 1.438 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.2381, allocations: 127.7 kB / 420.1 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.2382, allocations: 16 kB / 420.1 MB, free: 1.297 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.2406, allocations: 1.884 MB / 422 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.2407, allocations: 143.7 kB / 422.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2408, allocations: 135.7 kB / 422.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.2424, allocations: 1.547 MB / 423.9 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2424, allocations: 4 kB / 423.9 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2424, allocations: 0 / 423.9 MB, free: 13.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2424, allocations: 0 / 423.9 MB, free: 13.58 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.001101/0.2435, allocations: 0.6363 MB / 424.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2436, allocations: 8.922 kB / 424.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004685/0.244, allocations: 152.6 kB / 424.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.2443, allocations: 201.5 kB / 424.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2443, allocations: 20.59 kB / 424.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.2443, allocations: 43.95 kB / 424.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.2448, allocations: 0.6526 MB / 425.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2448, allocations: 3.984 kB / 425.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.2449, allocations: 12 kB / 425.6 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.2449, allocations: 20.5 kB / 425.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.2451, allocations: 200.2 kB / 425.8 MB, free: 11.5 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.001535/0.2467, allocations: 0.8709 MB / 426.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.2469, allocations: 215.9 kB / 426.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.247, allocations: 81.67 kB / 427 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008794/0.2479, allocations: 0.4884 MB / 427.4 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2479, allocations: 34.56 kB / 427.5 MB, free: 9.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.462e-06/0.2479, allocations: 4 kB / 427.5 MB, free: 9.762 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.00541/0.2533, allocations: 2.407 MB / 429.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2533, allocations: 81.11 kB / 430 MB, free: 7.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.2534, allocations: 171.2 kB / 430.1 MB, free: 6.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.2535, allocations: 33.7 kB / 430.2 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.2535, allocations: 188.6 kB / 430.4 MB, free: 6.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/0.2536, allocations: 182.4 kB / 430.5 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.2538, allocations: 110.3 kB / 430.6 MB, free: 6.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.2538, allocations: 342.7 kB / 431 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.254, allocations: 109.3 kB / 431.1 MB, free: 5.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.2542, allocations: 277.2 kB / 431.3 MB, free: 5.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.2546, allocations: 442.9 kB / 431.8 MB, free: 5.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2546, allocations: 0 / 431.8 MB, free: 5.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005122/0.2551, allocations: 474.8 kB / 432.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2551, allocations: 10.97 kB / 432.3 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2551, allocations: 4 kB / 432.3 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.2552, allocations: 46.31 kB / 432.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.2558, allocations: 195.7 kB / 432.5 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.2673, allocations: 4.076 MB / 436.6 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.2676, allocations: 31.98 kB / 436.6 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.2676, allocations: 27.98 kB / 436.6 MB, free: 36 kB / 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.1521/0.4197, allocations: 152.6 kB / 436.8 MB, free: 22.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.4199, allocations: 35.62 kB / 436.8 MB, free: 22.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008046/0.4207, allocations: 486 kB / 437.3 MB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4207, allocations: 8.625 kB / 437.3 MB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4207, allocations: 2.281 kB / 437.3 MB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.4207, allocations: 3.062 kB / 437.3 MB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.4219, allocations: 0.8372 MB / 438.1 MB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4219, allocations: 2.094 kB / 438.1 MB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/0.4225, allocations: 160.2 kB / 438.3 MB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.607e-05/0.4226, allocations: 37.19 kB / 438.3 MB, free: 21.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.4226, allocations: 22.14 kB / 438.4 MB, free: 21.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006626/0.4233, allocations: 2.313 MB / 440.7 MB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4233, allocations: 2.469 kB / 440.7 MB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.424, allocations: 0.733 MB / 441.4 MB, free: 19.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.424, allocations: 27.09 kB / 441.4 MB, free: 19.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.4241, allocations: 15.36 kB / 441.4 MB, free: 19.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.4244, allocations: 26.39 kB / 441.5 MB, free: 19.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.4244, allocations: 47.2 kB / 441.5 MB, free: 19.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.4245, allocations: 26.66 kB / 441.5 MB, free: 19.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.824e-05/0.4245, allocations: 39.56 kB / 441.6 MB, free: 19.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4245, allocations: 0 / 441.6 MB, free: 19.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001019/0.4255, allocations: 397.3 kB / 442 MB, free: 19.15 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.001603/0.4271, allocations: 0.854 MB / 442.8 MB, free: 19.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000644/0.4278, allocations: 0.6 MB / 443.4 MB, free: 18.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.4278, allocations: 3.719 kB / 443.4 MB, free: 18.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.4281, allocations: 439.4 kB / 443.9 MB, free: 18.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.4285, allocations: 116.9 kB / 444 MB, free: 18.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.4297, allocations: 0.7246 MB / 444.7 MB, free: 18.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.184e-05/0.4297, allocations: 115.8 kB / 444.8 MB, free: 18.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004931/0.4302, allocations: 156.7 kB / 445 MB, free: 18.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.4306, allocations: 175.9 kB / 445.1 MB, free: 18.12 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.4306, allocations: 0 / 445.1 MB, free: 18.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01794/0.4486, allocations: 20.12 MB / 465.3 MB, free: 15.03 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.511046937201172]