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.001781/0.001781, allocations: 107 kB / 19.8 MB, free: 2.5 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.002241/0.002241, allocations: 218.7 kB / 23 MB, free: 5.574 MB / 14.72 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 1.403/1.403, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001841/0.001841, allocations: 67.88 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2371, allocations: 53.31 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3829/0.6201, allocations: 155.9 MB / 0.572 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.6236, allocations: 4.054 MB / 0.5759 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.6237, allocations: 1.203 kB / 0.5759 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.6242, allocations: 114.2 kB / 0.576 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.6266, allocations: 1.182 MB / 0.5772 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.6275, allocations: 393.3 kB / 0.5776 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004853/0.628, allocations: 459.1 kB / 0.578 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.628, allocations: 7.281 kB / 0.578 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.6284, allocations: 255.7 kB / 0.5783 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.6286, allocations: 155.3 kB / 0.5784 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.6286, allocations: 18.97 kB / 0.5784 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.6317, allocations: 2.167 MB / 0.5805 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.6318, allocations: 138.2 kB / 0.5807 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.632, allocations: 164.9 kB / 0.5808 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.6338, allocations: 1.547 MB / 0.5823 GB, free: 11.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6338, allocations: 0 / 0.5823 GB, free: 11.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6338, allocations: 4 kB / 0.5823 GB, free: 11.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.6338, allocations: 2.031 kB / 0.5823 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.002121/0.636, allocations: 0.7789 MB / 0.5831 GB, free: 10.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.636, allocations: 9.625 kB / 0.5831 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007079/0.6367, allocations: 110.8 kB / 0.5832 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.6371, allocations: 287.8 kB / 0.5835 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.6371, allocations: 17.62 kB / 0.5835 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.6372, allocations: 22.56 kB / 0.5835 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.6382, allocations: 0.6013 MB / 0.5841 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.6382, allocations: 3.984 kB / 0.5841 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.6383, allocations: 11.75 kB / 0.5841 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.6383, allocations: 19.83 kB / 0.5842 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.6395, allocations: 0.642 MB / 0.5848 GB, free: 10.33 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.002825/0.6423, allocations: 1.274 MB / 0.586 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008881/0.6432, allocations: 348.5 kB / 0.5864 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.6436, allocations: 170.2 kB / 0.5865 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/0.646, allocations: 1.375 MB / 0.5879 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.6461, allocations: 43.97 kB / 0.5879 GB, free: 8.195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.6461, allocations: 0 / 0.5879 GB, free: 8.195 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.01464/0.6607, allocations: 3.484 MB / 0.5913 GB, free: 6.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.6608, allocations: 90.91 kB / 0.5914 GB, free: 6.363 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.6609, allocations: 184.4 kB / 0.5916 GB, free: 6.234 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.661, allocations: 34.48 kB / 0.5916 GB, free: 6.203 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.6611, allocations: 179.7 kB / 0.5918 GB, free: 6.043 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.6613, allocations: 184.4 kB / 0.5919 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.6615, allocations: 119.9 kB / 0.5921 GB, free: 5.871 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6616, allocations: 336.9 kB / 0.5924 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009465/0.6626, allocations: 273.2 kB / 0.5926 GB, free: 5.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/0.6634, allocations: 422.1 kB / 0.593 GB, free: 5.254 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.6649, allocations: 0.705 MB / 0.5937 GB, free: 4.977 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6649, allocations: 0 / 0.5937 GB, free: 4.977 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00182/0.6667, allocations: 0.7797 MB / 0.5945 GB, free: 4.773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6668, allocations: 5.531 kB / 0.5945 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.6668, allocations: 5.062 kB / 0.5945 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.667, allocations: 60.56 kB / 0.5946 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.6681, allocations: 182 kB / 0.5947 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007519/0.6689, allocations: 1.079 MB / 0.5958 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.6696, allocations: 39.86 kB / 0.5958 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/0.6697, allocations: 49.3 kB / 0.5959 GB, free: 3.566 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.0002374/0.67, allocations: 172.5 kB / 0.596 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6701, allocations: 38.84 kB / 0.5961 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.6722, allocations: 0.7825 MB / 0.5968 GB, free: 2.914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6722, allocations: 8.922 kB / 0.5969 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6722, allocations: 1.906 kB / 0.5969 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6722, allocations: 0 / 0.5969 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.6755, allocations: 1.544 MB / 0.5984 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6755, allocations: 6.562 kB / 0.5984 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.6766, allocations: 149.8 kB / 0.5985 GB, free: 1.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.6767, allocations: 44 kB / 0.5986 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.005e-05/0.6768, allocations: 26.06 kB / 0.5986 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.6788, allocations: 2.737 MB / 0.6012 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6788, allocations: 2.438 kB / 0.6013 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.6813, allocations: 1.076 MB / 0.6023 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.6814, allocations: 96.66 kB / 0.6024 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.6815, allocations: 12.91 kB / 0.6024 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008161/0.6823, allocations: 37.5 kB / 0.6024 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.6824, allocations: 55.53 kB / 0.6025 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/0.6824, allocations: 32.72 kB / 0.6025 GB, free: 13.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.6825, allocations: 130.2 kB / 0.6027 GB, free: 13.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6825, allocations: 0 / 0.6027 GB, free: 13.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001239/0.6838, allocations: 395.2 kB / 0.603 GB, free: 13.71 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.00214/0.6859, allocations: 0.857 MB / 0.6039 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.6877, allocations: 0.638 MB / 0.6045 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.6877, allocations: 0 / 0.6045 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.6888, allocations: 0.5201 MB / 0.605 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.6895, allocations: 103.3 kB / 0.6051 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.6915, allocations: 1.017 MB / 0.6061 GB, free: 11.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.692, allocations: 0.7813 MB / 0.6069 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008376/0.6928, allocations: 187.1 kB / 0.607 GB, free: 10.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.6931, allocations: 67.39 kB / 0.6071 GB, free: 10.74 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6931, allocations: 0 / 0.6071 GB, free: 10.74 MB / 478.1 MB Notification: Performance of Templates: time 0.02601/0.7191, allocations: 16.64 MB / 0.6233 GB, free: 10.12 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.658631230704486]