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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB 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.00193/0.00193, allocations: 71.83 kB / 368.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.241, allocations: 53.31 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.388/0.629, allocations: 155.9 MB / 0.5646 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.6323, allocations: 4.049 MB / 0.5685 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.6325, allocations: 9.594 kB / 0.5685 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.6329, allocations: 108.8 kB / 0.5686 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.6354, allocations: 1.177 MB / 0.5698 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.6362, allocations: 394.6 kB / 0.5702 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.6367, allocations: 461.2 kB / 0.5706 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.6368, allocations: 7.969 kB / 0.5706 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.6371, allocations: 248.2 kB / 0.5708 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.6373, allocations: 148.6 kB / 0.571 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.6373, allocations: 15.59 kB / 0.571 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.6405, allocations: 2.186 MB / 0.5731 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.6406, allocations: 133 kB / 0.5733 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.6408, allocations: 163.6 kB / 0.5734 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.6429, allocations: 1.543 MB / 0.5749 GB, free: 15.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6429, allocations: 3.562 kB / 0.5749 GB, free: 15.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.6429, allocations: 0 / 0.5749 GB, free: 15.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.6429, allocations: 3.281 kB / 0.5749 GB, free: 15.05 MB / 478.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.002156/0.645, allocations: 0.7845 MB / 0.5757 GB, free: 14.56 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6451, allocations: 6.938 kB / 0.5757 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007313/0.6458, allocations: 114.9 kB / 0.5758 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.6462, allocations: 278.3 kB / 0.5761 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.6462, allocations: 27.81 kB / 0.5761 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.6463, allocations: 22.62 kB / 0.5761 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.6473, allocations: 0.5902 MB / 0.5767 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.6473, allocations: 2.469 kB / 0.5767 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.6474, allocations: 15.78 kB / 0.5767 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.6474, allocations: 22.11 kB / 0.5767 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.6485, allocations: 0.6441 MB / 0.5774 GB, free: 14.26 MB / 478.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.002786/0.6513, allocations: 1.274 MB / 0.5786 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.6522, allocations: 346.9 kB / 0.5789 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.6526, allocations: 170.3 kB / 0.5791 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00242/0.655, allocations: 1.369 MB / 0.5804 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.6551, allocations: 43.31 kB / 0.5805 GB, free: 12.58 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.6551, allocations: 0 / 0.5805 GB, free: 12.58 MB / 478.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.01466/0.6697, allocations: 3.496 MB / 0.5839 GB, free: 11.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.6698, allocations: 82.39 kB / 0.584 GB, free: 11.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.67, allocations: 184.9 kB / 0.5841 GB, free: 11.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.6701, allocations: 34.7 kB / 0.5842 GB, free: 11.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.6702, allocations: 185.6 kB / 0.5844 GB, free: 11.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.6704, allocations: 182.9 kB / 0.5845 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.6706, allocations: 118.6 kB / 0.5846 GB, free: 10.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6707, allocations: 333.4 kB / 0.585 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.6714, allocations: 270.5 kB / 0.5852 GB, free: 10.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000807/0.6722, allocations: 422.5 kB / 0.5856 GB, free: 10.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.6737, allocations: 0.7057 MB / 0.5863 GB, free: 10.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6737, allocations: 2.875 kB / 0.5863 GB, free: 10.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001852/0.6755, allocations: 0.7803 MB / 0.5871 GB, free: 10.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6756, allocations: 7.5 kB / 0.5871 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6756, allocations: 7.516 kB / 0.5871 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.6758, allocations: 53.5 kB / 0.5871 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.6769, allocations: 180.8 kB / 0.5873 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007744/0.6777, allocations: 1.079 MB / 0.5884 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.6785, allocations: 48.52 kB / 0.5884 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.6785, allocations: 39.81 kB / 0.5885 GB, free: 9.047 MB / 478.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.0003027/0.6788, allocations: 174 kB / 0.5886 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.679, allocations: 30.28 kB / 0.5886 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.681, allocations: 0.7821 MB / 0.5894 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.681, allocations: 4.562 kB / 0.5894 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.681, allocations: 6.75 kB / 0.5894 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.681, allocations: 2.484 kB / 0.5894 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/0.6841, allocations: 1.556 MB / 0.5909 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6841, allocations: 2.781 kB / 0.5909 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.6852, allocations: 151.5 kB / 0.5911 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.6853, allocations: 46.41 kB / 0.5911 GB, free: 7.965 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.6854, allocations: 25.03 kB / 0.5912 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.6875, allocations: 2.728 MB / 0.5938 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6875, allocations: 4.938 kB / 0.5938 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.6898, allocations: 1.073 MB / 0.5949 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.6899, allocations: 99.69 kB / 0.595 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.69, allocations: 16.03 kB / 0.595 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/0.6908, allocations: 39.47 kB / 0.595 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.6909, allocations: 50.77 kB / 0.5951 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.691, allocations: 34.03 kB / 0.5951 GB, free: 4.602 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.881e-05/0.6911, allocations: 128.1 kB / 0.5952 GB, free: 4.512 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6911, allocations: 0 / 0.5952 GB, free: 4.512 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001503/0.6926, allocations: 399.2 kB / 0.5956 GB, free: 4.449 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.002311/0.6949, allocations: 0.8653 MB / 0.5965 GB, free: 4.047 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.6966, allocations: 0.6327 MB / 0.5971 GB, free: 3.926 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6966, allocations: 2.594 kB / 0.5971 GB, free: 3.926 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.6976, allocations: 0.5239 MB / 0.5976 GB, free: 3.637 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.6984, allocations: 90.84 kB / 0.5977 GB, free: 3.609 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.7004, allocations: 1.02 MB / 0.5987 GB, free: 2.988 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.7009, allocations: 0.7816 MB / 0.5994 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008431/0.7018, allocations: 191.1 kB / 0.5996 GB, free: 2.137 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.7021, allocations: 69.62 kB / 0.5997 GB, free: 2.109 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7021, allocations: 0 / 0.5997 GB, free: 2.109 MB / 478.1 MB Notification: Performance of Templates: time 0.02527/0.7273, allocations: 16.55 MB / 0.6158 GB, free: 6.273 MB / 494.1 MB 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 -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/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_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches