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.001569/0.001569, 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.001545/0.001545, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.479/1.479, allocations: 230.3 MB / 258 MB, free: 8.262 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.001959/0.001959, allocations: 63.89 kB / 378.7 MB, free: 2.785 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2202, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3774/0.5975, allocations: 155.9 MB / 0.5743 GB, free: 12.93 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003915/0.6014, allocations: 4.054 MB / 0.5782 GB, free: 12.64 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.6016, allocations: 3.938 kB / 0.5782 GB, free: 12.64 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.6021, allocations: 108.5 kB / 0.5783 GB, free: 12.61 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002769/0.6048, allocations: 1.245 MB / 0.5795 GB, free: 12.36 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009944/0.6058, allocations: 399.3 kB / 0.5799 GB, free: 12.29 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005529/0.6064, allocations: 470.7 kB / 0.5804 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.6064, allocations: 7.312 kB / 0.5804 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.6068, allocations: 258.2 kB / 0.5806 GB, free: 12.17 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.607, allocations: 149.1 kB / 0.5808 GB, free: 12.16 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.509e-05/0.6071, allocations: 14.72 kB / 0.5808 GB, free: 12.16 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003933/0.611, allocations: 2.266 MB / 0.583 GB, free: 11.92 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.6111, allocations: 140 kB / 0.5831 GB, free: 11.91 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.6114, allocations: 171.1 kB / 0.5833 GB, free: 11.91 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002774/0.6141, allocations: 1.556 MB / 0.5848 GB, free: 11.39 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6141, allocations: 1.094 kB / 0.5848 GB, free: 11.39 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.583e-06/0.6141, allocations: 0 / 0.5848 GB, free: 11.39 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 7.253e-06/0.6141, allocations: 0 / 0.5848 GB, free: 11.39 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.002159/0.6163, allocations: 0.7117 MB / 0.5855 GB, free: 10.9 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.6163, allocations: 8.594 kB / 0.5855 GB, free: 10.9 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007516/0.6171, allocations: 108.2 kB / 0.5856 GB, free: 10.86 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.6175, allocations: 222.3 kB / 0.5858 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.6176, allocations: 17.91 kB / 0.5858 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-05/0.6176, allocations: 33.39 kB / 0.5859 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.6187, allocations: 0.5911 MB / 0.5865 GB, free: 10.49 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.6187, allocations: 2.312 kB / 0.5865 GB, free: 10.49 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/0.6188, allocations: 12.81 kB / 0.5865 GB, free: 10.49 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.6188, allocations: 19.64 kB / 0.5865 GB, free: 10.49 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.6201, allocations: 0.6534 MB / 0.5871 GB, free: 10.37 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.003114/0.6232, allocations: 1.247 MB / 0.5883 GB, free: 9.742 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.6242, allocations: 346.3 kB / 0.5887 GB, free: 9.633 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.6247, allocations: 169.2 kB / 0.5888 GB, free: 9.586 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.002134/0.6268, allocations: 484.5 kB / 0.5893 GB, free: 9.461 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.6269, allocations: 39.97 kB / 0.5893 GB, free: 9.418 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=35): time 2.605e-06/0.6269, allocations: 0 / 0.5893 GB, free: 9.418 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.01596/0.6428, allocations: 3.196 MB / 0.5925 GB, free: 8.051 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.6429, allocations: 85.77 kB / 0.5925 GB, free: 7.953 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.6431, allocations: 190.4 kB / 0.5927 GB, free: 7.824 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.082e-05/0.6431, allocations: 29.27 kB / 0.5927 GB, free: 7.793 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.6433, allocations: 190 kB / 0.5929 GB, free: 7.629 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.6434, allocations: 184.2 kB / 0.5931 GB, free: 7.496 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.6436, allocations: 121.8 kB / 0.5932 GB, free: 7.453 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001719/0.6438, allocations: 335.6 kB / 0.5935 GB, free: 7.133 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007986/0.6446, allocations: 264.9 kB / 0.5938 GB, free: 7.082 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008731/0.6455, allocations: 421.9 kB / 0.5942 GB, free: 6.844 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.6471, allocations: 0.6945 MB / 0.5949 GB, free: 6.57 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6471, allocations: 2.312 kB / 0.5949 GB, free: 6.57 MB / 462.1 MB
Notification: Performance of matching and sorting (n=72) (initialization): time 0.002165/0.6493, allocations: 0.7854 MB / 0.5956 GB, free: 6.219 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6493, allocations: 11.22 kB / 0.5957 GB, free: 6.215 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6493, allocations: 5.75 kB / 0.5957 GB, free: 6.215 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.6495, allocations: 53.06 kB / 0.5957 GB, free: 6.184 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.6507, allocations: 185.6 kB / 0.5959 GB, free: 6.129 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007708/0.6515, allocations: 1.076 MB / 0.5969 GB, free: 5.051 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/0.6524, allocations: 44.95 kB / 0.597 GB, free: 5.027 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/0.6524, allocations: 39.45 kB / 0.597 GB, free: 5.016 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.0002738/0.6527, allocations: 180.2 kB / 0.5972 GB, free: 4.855 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.6528, allocations: 26.95 kB / 0.5972 GB, free: 4.844 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.6552, allocations: 0.7925 MB / 0.598 GB, free: 4.363 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.6552, allocations: 4.75 kB / 0.598 GB, free: 4.363 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6552, allocations: 0 / 0.598 GB, free: 4.363 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.6552, allocations: 10.52 kB / 0.598 GB, free: 4.355 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.6587, allocations: 1.521 MB / 0.5995 GB, free: 3.219 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6587, allocations: 3.703 kB / 0.5995 GB, free: 3.219 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.6599, allocations: 146.5 kB / 0.5996 GB, free: 3.172 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.66, allocations: 44 kB / 0.5997 GB, free: 3.141 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.6601, allocations: 26.06 kB / 0.5997 GB, free: 3.125 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.6621, allocations: 2.53 MB / 0.6022 GB, free: 0.5078 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6621, allocations: 5.094 kB / 0.6022 GB, free: 0.5078 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.6649, allocations: 1.076 MB / 0.6032 GB, free: 15.81 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.665, allocations: 23.86 kB / 0.6032 GB, free: 15.79 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.6651, allocations: 11.66 kB / 0.6033 GB, free: 15.79 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008804/0.6659, allocations: 41.62 kB / 0.6033 GB, free: 15.77 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.666, allocations: 49.91 kB / 0.6033 GB, free: 15.73 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/0.6661, allocations: 33.22 kB / 0.6034 GB, free: 15.72 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 9.996e-05/0.6662, allocations: 125.2 kB / 0.6035 GB, free: 15.62 MB / 478.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.6662, allocations: 4 kB / 0.6035 GB, free: 15.62 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.001351/0.6675, allocations: 395.5 kB / 0.6039 GB, free: 15.54 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.002251/0.6698, allocations: 0.8619 MB / 0.6047 GB, free: 15.11 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.001923/0.6717, allocations: 0.6329 MB / 0.6053 GB, free: 14.81 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6717, allocations: 2.781 kB / 0.6053 GB, free: 14.81 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001179/0.6729, allocations: 0.5224 MB / 0.6058 GB, free: 14.43 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007756/0.6737, allocations: 106.6 kB / 0.6059 GB, free: 14.38 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.6759, allocations: 1.012 MB / 0.6069 GB, free: 13.46 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.6764, allocations: 0.7852 MB / 0.6077 GB, free: 12.65 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.0008538/0.6772, allocations: 188.2 kB / 0.6079 GB, free: 12.47 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.6775, allocations: 63.39 kB / 0.6079 GB, free: 12.41 MB / 478.1 MB
Notification: Performance of SimCode: time 4.31e-07/0.6775, allocations: 0 / 0.6079 GB, free: 12.41 MB / 478.1 MB
Notification: Performance of Templates: time 0.02727/0.7048, allocations: 16.79 MB / 0.6243 GB, free: 11.64 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.823929647915065]