Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 104.5 kB / 21.18 MB, free: 0.707 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix")
translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 57.31 kB / 347.6 MB, free: 9.57 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2736, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1902/0.4637, allocations: 151.3 MB / 0.5353 GB, free: 11.56 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002315/0.466, allocations: 1.511 MB / 0.5368 GB, free: 10.04 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.4662, allocations: 0 / 0.5368 GB, free: 10.04 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.4666, allocations: 59.66 kB / 0.5368 GB, free: 9.984 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001216/0.4678, allocations: 390.2 kB / 0.5372 GB, free: 9.602 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.4683, allocations: 167.5 kB / 0.5374 GB, free: 9.438 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00038/0.4687, allocations: 195.2 kB / 0.5375 GB, free: 9.246 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.4688, allocations: 3.797 kB / 0.5375 GB, free: 9.246 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.469, allocations: 79.69 kB / 0.5376 GB, free: 9.168 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.4691, allocations: 63.75 kB / 0.5377 GB, free: 9.105 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.4692, allocations: 4 kB / 0.5377 GB, free: 9.102 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.4707, allocations: 0.6041 MB / 0.5383 GB, free: 8.496 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.4708, allocations: 39.83 kB / 0.5383 GB, free: 8.457 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.393e-05/0.4709, allocations: 47.81 kB / 0.5384 GB, free: 8.41 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001071/0.472, allocations: 396.8 kB / 0.5387 GB, free: 8.027 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.472, allocations: 0 / 0.5387 GB, free: 8.027 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.362e-06/0.472, allocations: 0 / 0.5387 GB, free: 8.027 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 7.424e-06/0.472, allocations: 0 / 0.5387 GB, free: 8.027 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: 21
 * Number of variables: 21
Notification: Performance of Generate backend data structure: time 0.000746/0.4727, allocations: 361.8 kB / 0.5391 GB, free: 7.645 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4728, allocations: 15.92 kB / 0.5391 GB, free: 7.629 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.475, allocations: 192.6 kB / 0.5393 GB, free: 7.441 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.4754, allocations: 142.4 kB / 0.5394 GB, free: 7.277 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4754, allocations: 12.12 kB / 0.5394 GB, free: 7.266 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.4754, allocations: 11.95 kB / 0.5394 GB, free: 7.254 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.476, allocations: 201.5 kB / 0.5396 GB, free: 7.051 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.476, allocations: 4 kB / 0.5396 GB, free: 7.047 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.476, allocations: 4 kB / 0.5396 GB, free: 7.043 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.476, allocations: 4 kB / 0.5396 GB, free: 7.039 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.4766, allocations: 247.8 kB / 0.5399 GB, free: 6.797 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.00191/0.4786, allocations: 0.6097 MB / 0.5405 GB, free: 6.141 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.479, allocations: 186.5 kB / 0.5407 GB, free: 5.949 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.4792, allocations: 92.81 kB / 0.5407 GB, free: 5.855 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.4794, allocations: 19.97 kB / 0.5408 GB, free: 5.836 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4794, allocations: 30.56 kB / 0.5408 GB, free: 5.797 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.4794, allocations: 0 / 0.5408 GB, free: 5.797 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: medium.T
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=19): time 0.005954/0.4854, allocations: 1.388 MB / 0.5421 GB, free: 4.328 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.4854, allocations: 59.41 kB / 0.5422 GB, free: 4.258 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4855, allocations: 117.8 kB / 0.5423 GB, free: 4.133 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.4856, allocations: 25.7 kB / 0.5423 GB, free: 4.102 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.4857, allocations: 100.4 kB / 0.5424 GB, free: 4 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.4857, allocations: 75.36 kB / 0.5425 GB, free: 3.926 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4858, allocations: 41.69 kB / 0.5425 GB, free: 3.879 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001535/0.486, allocations: 322.8 kB / 0.5429 GB, free: 3.555 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.4862, allocations: 91.95 kB / 0.5429 GB, free: 3.465 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.4865, allocations: 123.2 kB / 0.5431 GB, free: 3.332 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.487, allocations: 227.3 kB / 0.5433 GB, free: 3.098 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.487, allocations: 3.938 kB / 0.5433 GB, free: 3.094 MB / 462.1 MB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006786/0.4877, allocations: 286.2 kB / 0.5436 GB, free: 2.805 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4877, allocations: 4 kB / 0.5436 GB, free: 2.801 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.4877, allocations: 4 kB / 0.5436 GB, free: 2.797 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.4879, allocations: 24.94 kB / 0.5436 GB, free: 2.77 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.4883, allocations: 63.89 kB / 0.5436 GB, free: 2.707 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/0.4888, allocations: 0.5292 MB / 0.5442 GB, free: 2.152 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.4891, allocations: 12.03 kB / 0.5442 GB, free: 2.141 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.4891, allocations: 11.98 kB / 0.5442 GB, free: 2.129 MB / 462.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (23):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 1 system
   {(1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.4893, allocations: 129.9 kB / 0.5443 GB, free: 1.992 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.4893, allocations: 7.953 kB / 0.5443 GB, free: 1.984 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/0.4901, allocations: 319 kB / 0.5446 GB, free: 1.664 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4901, allocations: 0 / 0.5446 GB, free: 1.664 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4901, allocations: 7.875 kB / 0.5446 GB, free: 1.656 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4902, allocations: 0 / 0.5446 GB, free: 1.656 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.4914, allocations: 0.6474 MB / 0.5453 GB, free: 0.9492 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4914, allocations: 0 / 0.5453 GB, free: 0.9492 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.4919, allocations: 51.89 kB / 0.5453 GB, free: 0.8984 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.146e-05/0.492, allocations: 24.84 kB / 0.5453 GB, free: 0.8711 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.492, allocations: 7.984 kB / 0.5453 GB, free: 0.8633 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.4933, allocations: 1.267 MB / 0.5466 GB, free: 15.48 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4933, allocations: 3.938 kB / 0.5466 GB, free: 15.48 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.4942, allocations: 459.1 kB / 0.547 GB, free: 15 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.4942, allocations: 11.92 kB / 0.547 GB, free: 14.99 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.4943, allocations: 8.062 kB / 0.547 GB, free: 14.98 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.4946, allocations: 11.98 kB / 0.5471 GB, free: 14.97 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.4947, allocations: 15.97 kB / 0.5471 GB, free: 14.95 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.4947, allocations: 8 kB / 0.5471 GB, free: 14.95 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 8.08e-05/0.4948, allocations: 91.27 kB / 0.5472 GB, free: 14.86 MB / 478.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4948, allocations: 0 / 0.5472 GB, free: 14.86 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.0006631/0.4954, allocations: 131.7 kB / 0.5473 GB, free: 14.73 MB / 478.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 2 (medium.p,medium.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 (19):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(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.0007932/0.4962, allocations: 258.7 kB / 0.5475 GB, free: 14.46 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006978/0.4969, allocations: 227.8 kB / 0.5478 GB, free: 14.24 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4969, allocations: 0 / 0.5478 GB, free: 14.24 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004464/0.4974, allocations: 238.5 kB / 0.548 GB, free: 14 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.4978, allocations: 52.48 kB / 0.548 GB, free: 13.95 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.499, allocations: 480.3 kB / 0.5485 GB, free: 13.44 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.4994, allocations: 0.7086 MB / 0.5492 GB, free: 12.7 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.0003235/0.4998, allocations: 53.33 kB / 0.5492 GB, free: 12.65 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.4999, allocations: 27.42 kB / 0.5493 GB, free: 12.62 MB / 478.1 MB
Notification: Performance of SimCode: time 6.01e-07/0.4999, allocations: 0 / 0.5493 GB, free: 12.62 MB / 478.1 MB
Notification: Performance of Templates: time 0.01312/0.513, allocations: 6.424 MB / 0.5555 GB, free: 6.188 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.1605332205072045]