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.0009338/0.0009338, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001396/0.001396, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.8975/0.8975, allocations: 173.3 MB / 201.1 MB, free: 9.344 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.432e-06/1.432e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.677e-05, allocations: 2.312 kB / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2112/0.2112, allocations: 145.6 MB / 413.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.2143, allocations: 4.065 MB / 417.6 MB, free: 3.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.2144, allocations: 0 / 417.6 MB, free: 3.973 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.2148, allocations: 99.36 kB / 417.7 MB, free: 3.875 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.2166, allocations: 1.244 MB / 419 MB, free: 2.625 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.2171, allocations: 394.5 kB / 419.4 MB, free: 2.238 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.2176, allocations: 466.7 kB / 419.8 MB, free: 1.781 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.2176, allocations: 5.812 kB / 419.8 MB, free: 1.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.2179, allocations: 291 kB / 420.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.2181, allocations: 139.6 kB / 420.2 MB, free: 1.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.2181, allocations: 16 kB / 420.3 MB, free: 1.332 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.2201, allocations: 1.846 MB / 422.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2202, allocations: 147.6 kB / 422.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.2205, allocations: 131.8 kB / 422.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.222, allocations: 1.535 MB / 423.9 MB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.222, allocations: 4 kB / 423.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.222, allocations: 4 kB / 423.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.222, allocations: 3.938 kB / 423.9 MB, free: 13.66 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.001169/0.2231, allocations: 0.7844 MB / 424.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2232, allocations: 8.922 kB / 424.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/0.2237, allocations: 152.5 kB / 424.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.2239, allocations: 224.4 kB / 425.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2239, allocations: 24.59 kB / 425.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-05/0.224, allocations: 35.98 kB / 425.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.2246, allocations: 0.6984 MB / 425.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2246, allocations: 4 kB / 425.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.2246, allocations: 12 kB / 425.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.2246, allocations: 24.48 kB / 425.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.225, allocations: 285.6 kB / 426.2 MB, free: 11.27 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.001436/0.2264, allocations: 1.103 MB / 427.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.2268, allocations: 278 kB / 427.5 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.2269, allocations: 119.2 kB / 427.6 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009226/0.2278, allocations: 0.4956 MB / 428.1 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.2279, allocations: 42.27 kB / 428.2 MB, free: 9.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.433e-06/0.2279, allocations: 0 / 428.2 MB, free: 9.152 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.00628/0.2341, allocations: 2.646 MB / 430.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.2342, allocations: 85.11 kB / 430.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2343, allocations: 242.4 kB / 431.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.2343, allocations: 33.7 kB / 431.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.2344, allocations: 227.3 kB / 431.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2345, allocations: 190.4 kB / 431.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2347, allocations: 123.9 kB / 431.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2348, allocations: 0.5117 MB / 432.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.235, allocations: 177.2 kB / 432.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.2353, allocations: 407.8 kB / 432.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005627/0.2359, allocations: 0.5843 MB / 433.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2359, allocations: 0 / 433.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007704/0.2366, allocations: 0.6425 MB / 434 MB, free: 2.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2367, allocations: 11.44 kB / 434 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2367, allocations: 12 kB / 434 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.2368, allocations: 51.34 kB / 434.1 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.2373, allocations: 167.8 kB / 434.3 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004732/0.2378, allocations: 1.6 MB / 435.9 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.2381, allocations: 32.11 kB / 435.9 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.2381, allocations: 47.84 kB / 435.9 MB, free: 0.9258 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.0001462/0.2383, allocations: 196.3 kB / 436.1 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.2384, allocations: 43.86 kB / 436.2 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.2394, allocations: 0.6358 MB / 436.8 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2394, allocations: 8 kB / 436.8 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2395, allocations: 4.812 kB / 436.8 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2395, allocations: 3.938 kB / 436.8 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1251/0.3646, allocations: 1.367 MB / 438.2 MB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3646, allocations: 2.25 kB / 438.2 MB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/0.3651, allocations: 127.5 kB / 438.3 MB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.3652, allocations: 54.61 kB / 438.4 MB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.3652, allocations: 24.3 kB / 438.4 MB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000777/0.366, allocations: 3.45 MB / 441.8 MB, free: 19.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.366, allocations: 5.609 kB / 441.9 MB, free: 19.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3671, allocations: 1.036 MB / 442.9 MB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.3671, allocations: 20.52 kB / 442.9 MB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.3672, allocations: 14.58 kB / 442.9 MB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.3675, allocations: 26.91 kB / 442.9 MB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.3675, allocations: 46.06 kB / 443 MB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.3676, allocations: 34.55 kB / 443 MB, free: 18.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.022e-05/0.3677, allocations: 155.1 kB / 443.2 MB, free: 18.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3677, allocations: 0.8125 kB / 443.2 MB, free: 18.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009872/0.3686, allocations: 395.7 kB / 443.6 MB, free: 18.56 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.001643/0.3703, allocations: 0.8855 MB / 444.5 MB, free: 18.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007849/0.3711, allocations: 0.5219 MB / 445 MB, free: 18.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.3711, allocations: 3.641 kB / 445 MB, free: 18.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.3715, allocations: 0.5964 MB / 445.6 MB, free: 18.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.372, allocations: 124.8 kB / 445.7 MB, free: 18.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3733, allocations: 0.8079 MB / 446.5 MB, free: 17.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/0.3734, allocations: 112.3 kB / 446.6 MB, free: 17.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005474/0.3739, allocations: 176.5 kB / 446.8 MB, free: 17.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.3741, allocations: 64.53 kB / 446.8 MB, free: 17.62 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3741, allocations: 0.875 kB / 446.8 MB, free: 17.62 MB / 378.7 MB Notification: Performance of Templates: time 0.0166/0.3907, allocations: 19.75 MB / 466.6 MB, free: 14.5 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 -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.3751558158546686]