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.001416/0.001416, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002264/0.002264, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.001981/0.001981, allocations: 64.77 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2192, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3739/0.5931, allocations: 155.9 MB / 0.5745 GB, free: 12.91 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003352/0.5965, allocations: 4.058 MB / 0.5785 GB, free: 12.62 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.5966, allocations: 1.969 kB / 0.5785 GB, free: 12.62 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.597, allocations: 110.9 kB / 0.5786 GB, free: 12.6 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002311/0.5993, allocations: 1.249 MB / 0.5798 GB, free: 12.34 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008299/0.6001, allocations: 390.2 kB / 0.5802 GB, free: 12.28 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004757/0.6006, allocations: 466.7 kB / 0.5806 GB, free: 12.2 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.6006, allocations: 16.31 kB / 0.5807 GB, free: 12.2 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.601, allocations: 253.2 kB / 0.5809 GB, free: 12.16 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.6012, allocations: 151.8 kB / 0.581 GB, free: 12.15 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.6012, allocations: 15.84 kB / 0.5811 GB, free: 12.15 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.6043, allocations: 2.27 MB / 0.5833 GB, free: 11.9 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.6044, allocations: 136.5 kB / 0.5834 GB, free: 11.9 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.6045, allocations: 163.2 kB / 0.5836 GB, free: 11.9 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001817/0.6063, allocations: 1.561 MB / 0.5851 GB, free: 11.36 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6063, allocations: 0 / 0.5851 GB, free: 11.36 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.342e-06/0.6063, allocations: 4 kB / 0.5851 GB, free: 11.36 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 6.211e-06/0.6064, allocations: 0 / 0.5851 GB, free: 11.36 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.001967/0.6083, allocations: 0.7088 MB / 0.5858 GB, free: 10.86 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.6083, allocations: 7.688 kB / 0.5858 GB, free: 10.86 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006798/0.609, allocations: 112.2 kB / 0.5859 GB, free: 10.82 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.6094, allocations: 223.8 kB / 0.5861 GB, free: 10.64 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.6094, allocations: 21.66 kB / 0.5861 GB, free: 10.64 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.6095, allocations: 26.31 kB / 0.5862 GB, free: 10.64 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009984/0.6105, allocations: 0.5971 MB / 0.5867 GB, free: 10.45 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.6105, allocations: 2.812 kB / 0.5867 GB, free: 10.45 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.6106, allocations: 12.53 kB / 0.5867 GB, free: 10.45 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.6106, allocations: 22.48 kB / 0.5868 GB, free: 10.45 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.6117, allocations: 0.646 MB / 0.5874 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.002702/0.6144, allocations: 1.249 MB / 0.5886 GB, free: 9.711 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.6153, allocations: 347.2 kB / 0.589 GB, free: 9.598 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.6157, allocations: 167.7 kB / 0.5891 GB, free: 9.551 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001842/0.6176, allocations: 479.2 kB / 0.5896 GB, free: 9.43 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.6176, allocations: 49.59 kB / 0.5896 GB, free: 9.379 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=35): time 1.704e-06/0.6176, allocations: 4 kB / 0.5896 GB, free: 9.375 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.01427/0.6319, allocations: 3.195 MB / 0.5927 GB, free: 8.004 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.6319, allocations: 86.2 kB / 0.5928 GB, free: 7.906 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.6321, allocations: 190.2 kB / 0.593 GB, free: 7.777 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.6321, allocations: 31.8 kB / 0.593 GB, free: 7.746 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.6323, allocations: 183.2 kB / 0.5932 GB, free: 7.586 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.6324, allocations: 185.6 kB / 0.5934 GB, free: 7.453 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.6326, allocations: 119.8 kB / 0.5935 GB, free: 7.414 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001536/0.6328, allocations: 334.1 kB / 0.5938 GB, free: 7.094 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006905/0.6335, allocations: 264.6 kB / 0.5941 GB, free: 7.043 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.6342, allocations: 428.1 kB / 0.5945 GB, free: 6.797 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.6357, allocations: 0.7005 MB / 0.5952 GB, free: 6.527 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6357, allocations: 0 / 0.5952 GB, free: 6.527 MB / 462.1 MB
Notification: Performance of matching and sorting (n=72) (initialization): time 0.001854/0.6375, allocations: 0.7836 MB / 0.5959 GB, free: 6.16 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6376, allocations: 7.062 kB / 0.5959 GB, free: 6.16 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.6376, allocations: 3.219 kB / 0.5959 GB, free: 6.16 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.6378, allocations: 51.72 kB / 0.596 GB, free: 6.133 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.6389, allocations: 188.5 kB / 0.5962 GB, free: 6.074 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007418/0.6396, allocations: 1.079 MB / 0.5972 GB, free: 4.996 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.6404, allocations: 44.64 kB / 0.5973 GB, free: 4.973 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.6405, allocations: 39.61 kB / 0.5973 GB, free: 4.961 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.0002321/0.6407, allocations: 168.4 kB / 0.5975 GB, free: 4.809 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.6408, allocations: 26.92 kB / 0.5975 GB, free: 4.797 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.643, allocations: 0.8005 MB / 0.5983 GB, free: 4.309 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.643, allocations: 4.531 kB / 0.5983 GB, free: 4.309 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.643, allocations: 0 / 0.5983 GB, free: 4.309 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.643, allocations: 6.766 kB / 0.5983 GB, free: 4.305 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.6463, allocations: 1.523 MB / 0.5998 GB, free: 3.168 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6463, allocations: 224 / 0.5998 GB, free: 3.168 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.6474, allocations: 152.5 kB / 0.5999 GB, free: 3.117 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.6476, allocations: 46.62 kB / 0.6 GB, free: 3.082 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.6476, allocations: 26.09 kB / 0.6 GB, free: 3.066 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.6497, allocations: 2.519 MB / 0.6024 GB, free: 472 kB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6497, allocations: 6.438 kB / 0.6024 GB, free: 468 kB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.6522, allocations: 1.075 MB / 0.6035 GB, free: 15.76 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.6522, allocations: 30.42 kB / 0.6035 GB, free: 15.74 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/0.6523, allocations: 12.86 kB / 0.6035 GB, free: 15.73 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008134/0.6531, allocations: 40.33 kB / 0.6036 GB, free: 15.71 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.6532, allocations: 47.02 kB / 0.6036 GB, free: 15.68 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/0.6533, allocations: 38.66 kB / 0.6037 GB, free: 15.66 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 9.806e-05/0.6534, allocations: 130 kB / 0.6038 GB, free: 15.56 MB / 478.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.6534, allocations: 0 / 0.6038 GB, free: 15.56 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.001229/0.6546, allocations: 392.6 kB / 0.6042 GB, free: 15.48 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.002072/0.6567, allocations: 0.8659 MB / 0.605 GB, free: 15.05 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.001771/0.6584, allocations: 0.6365 MB / 0.6056 GB, free: 14.75 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.6584, allocations: 4 kB / 0.6056 GB, free: 14.75 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001045/0.6595, allocations: 0.5238 MB / 0.6061 GB, free: 14.37 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.6602, allocations: 93.22 kB / 0.6062 GB, free: 14.32 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.6623, allocations: 1.017 MB / 0.6072 GB, free: 13.38 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.6628, allocations: 0.7852 MB / 0.608 GB, free: 12.56 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.0008175/0.6636, allocations: 183.1 kB / 0.6082 GB, free: 12.39 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.6639, allocations: 67.39 kB / 0.6082 GB, free: 12.32 MB / 478.1 MB
Notification: Performance of SimCode: time 3.71e-07/0.6639, allocations: 0 / 0.6082 GB, free: 12.32 MB / 478.1 MB
Notification: Performance of Templates: time 0.02572/0.6896, allocations: 16.8 MB / 0.6246 GB, free: 11.57 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  -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]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.76179023552686]