Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001423/0.001423, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001577/0.001577, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.541/1.541, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2877, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4197/0.7074, allocations: 155.9 MB / 0.5742 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004224/0.7116, allocations: 4.06 MB / 0.5781 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.7118, allocations: 6.719 kB / 0.5781 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.7123, allocations: 102.7 kB / 0.5782 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.7151, allocations: 1.185 MB / 0.5794 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.7162, allocations: 389.6 kB / 0.5798 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005597/0.7167, allocations: 458.9 kB / 0.5802 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.063e-05/0.7168, allocations: 10.67 kB / 0.5802 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004271/0.7172, allocations: 252.4 kB / 0.5805 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.7174, allocations: 155.4 kB / 0.5806 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.7175, allocations: 15.38 kB / 0.5806 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00499/0.7225, allocations: 2.172 MB / 0.5827 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.7227, allocations: 137 kB / 0.5829 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.723, allocations: 162.4 kB / 0.583 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.7259, allocations: 1.548 MB / 0.5845 GB, free: 11.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7259, allocations: 2.906 kB / 0.5845 GB, free: 11.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.7259, allocations: 0 / 0.5845 GB, free: 11.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.7259, allocations: 0 / 0.5845 GB, free: 11.52 MB / 462.1 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.002457/0.7283, allocations: 0.7893 MB / 0.5853 GB, free: 10.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7284, allocations: 9.5 kB / 0.5853 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007413/0.7291, allocations: 106 kB / 0.5854 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.7296, allocations: 281.4 kB / 0.5857 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.7297, allocations: 24.84 kB / 0.5857 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.7297, allocations: 25.48 kB / 0.5857 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.7308, allocations: 0.5943 MB / 0.5863 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.7308, allocations: 0 / 0.5863 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.7309, allocations: 15.28 kB / 0.5863 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.7309, allocations: 19.55 kB / 0.5863 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.7321, allocations: 0.6445 MB / 0.587 GB, free: 10.32 MB / 462.1 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.003024/0.7351, allocations: 1.277 MB / 0.5882 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00095/0.7361, allocations: 350.5 kB / 0.5886 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.7365, allocations: 166.5 kB / 0.5887 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00258/0.7391, allocations: 1.367 MB / 0.5901 GB, free: 8.246 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.7392, allocations: 45.59 kB / 0.5901 GB, free: 8.199 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.7392, allocations: 0 / 0.5901 GB, free: 8.199 MB / 462.1 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.01548/0.7546, allocations: 3.493 MB / 0.5935 GB, free: 6.457 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.7547, allocations: 88.02 kB / 0.5936 GB, free: 6.363 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.7549, allocations: 188.7 kB / 0.5938 GB, free: 6.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.7549, allocations: 32.22 kB / 0.5938 GB, free: 6.199 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.7551, allocations: 185.4 kB / 0.594 GB, free: 6.043 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.7552, allocations: 182.5 kB / 0.5942 GB, free: 5.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.7555, allocations: 115.8 kB / 0.5943 GB, free: 5.871 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7556, allocations: 333.9 kB / 0.5946 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007613/0.7564, allocations: 263.9 kB / 0.5948 GB, free: 5.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.7573, allocations: 424.6 kB / 0.5952 GB, free: 5.262 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.759, allocations: 0.7057 MB / 0.5959 GB, free: 4.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.759, allocations: 2.531 kB / 0.5959 GB, free: 4.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001993/0.761, allocations: 0.7798 MB / 0.5967 GB, free: 4.746 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.761, allocations: 7.5 kB / 0.5967 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.761, allocations: 5.859 kB / 0.5967 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.7612, allocations: 58.56 kB / 0.5968 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.7624, allocations: 180.7 kB / 0.5969 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000806/0.7632, allocations: 1.076 MB / 0.598 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.764, allocations: 38.34 kB / 0.598 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/0.7641, allocations: 47.62 kB / 0.5981 GB, free: 3.547 MB / 462.1 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.0002768/0.7644, allocations: 180.6 kB / 0.5982 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.7645, allocations: 31.47 kB / 0.5983 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.7668, allocations: 0.774 MB / 0.599 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.7668, allocations: 4.719 kB / 0.599 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7668, allocations: 2.656 kB / 0.599 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.7668, allocations: 5.078 kB / 0.599 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.7705, allocations: 1.556 MB / 0.6006 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7705, allocations: 2.312 kB / 0.6006 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.7716, allocations: 147.5 kB / 0.6007 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/0.7718, allocations: 42.75 kB / 0.6007 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-05/0.7718, allocations: 30.88 kB / 0.6008 GB, free: 1.617 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.774, allocations: 2.729 MB / 0.6034 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.774, allocations: 3.625 kB / 0.6034 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.7768, allocations: 1.074 MB / 0.6045 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/0.7769, allocations: 99.47 kB / 0.6046 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/0.7769, allocations: 13.09 kB / 0.6046 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008796/0.7778, allocations: 43.69 kB / 0.6046 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.7779, allocations: 46.34 kB / 0.6047 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/0.778, allocations: 39.05 kB / 0.6047 GB, free: 13.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.7781, allocations: 129.6 kB / 0.6048 GB, free: 13.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7781, allocations: 0 / 0.6048 GB, free: 13.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00138/0.7795, allocations: 393.7 kB / 0.6052 GB, free: 13.69 MB / 478.1 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.002229/0.7817, allocations: 0.8645 MB / 0.6061 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.7837, allocations: 0.6285 MB / 0.6067 GB, free: 12.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7837, allocations: 2.812 kB / 0.6067 GB, free: 12.97 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.7848, allocations: 0.5244 MB / 0.6072 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008323/0.7857, allocations: 101.7 kB / 0.6073 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.7878, allocations: 1.029 MB / 0.6083 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.7883, allocations: 0.7813 MB / 0.6091 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008204/0.7891, allocations: 187.1 kB / 0.6092 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.7895, allocations: 67.38 kB / 0.6093 GB, free: 10.73 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.7895, allocations: 0 / 0.6093 GB, free: 10.73 MB / 478.1 MB Notification: Performance of Templates: time 0.02831/0.8178, allocations: 16.65 MB / 0.6256 GB, free: 10.12 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.000878798775375]