Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001411/0.001411, allocations: 105.1 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.001944/0.001944, allocations: 213.9 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.581/1.581, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2605/0.2605, allocations: 46.9 MB / 361.3 MB, free: 4.523 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix")
translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 83.86 kB / 0.497 GB, free: 7.598 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4895, allocations: 66.03 MB / 0.5615 GB, free: 4.621 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2331/0.7226, allocations: 152.9 MB / 0.7109 GB, free: 11.09 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.002938/0.7255, allocations: 1.6 MB / 0.7124 GB, free: 9.48 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.7256, allocations: 4 kB / 0.7124 GB, free: 9.477 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.726, allocations: 51.66 kB / 0.7125 GB, free: 9.426 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.00131/0.7273, allocations: 414.1 kB / 0.7129 GB, free: 9.02 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.7279, allocations: 181.1 kB / 0.7131 GB, free: 8.848 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0003436/0.7283, allocations: 187.3 kB / 0.7132 GB, free: 8.664 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.7283, allocations: 3.938 kB / 0.7132 GB, free: 8.66 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.7286, allocations: 87.62 kB / 0.7133 GB, free: 8.574 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.7288, allocations: 63.75 kB / 0.7134 GB, free: 8.512 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.7288, allocations: 4 kB / 0.7134 GB, free: 8.508 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.7305, allocations: 0.6314 MB / 0.714 GB, free: 7.875 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.7306, allocations: 31.91 kB / 0.714 GB, free: 7.844 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.7307, allocations: 47.8 kB / 0.7141 GB, free: 7.797 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.001464/0.7322, allocations: 418.6 kB / 0.7145 GB, free: 7.391 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7322, allocations: 0 / 0.7145 GB, free: 7.391 MB / 0.545 GB
Notification: Performance of FrontEnd: time 7.204e-06/0.7322, allocations: 3.984 kB / 0.7145 GB, free: 7.387 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 9.789e-06/0.7322, allocations: 0 / 0.7145 GB, free: 7.387 MB / 0.545 GB
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.001008/0.7332, allocations: 357.8 kB / 0.7148 GB, free: 7.008 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.7333, allocations: 8.031 kB / 0.7148 GB, free: 7 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.7361, allocations: 204.6 kB / 0.715 GB, free: 6.801 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.7365, allocations: 158 kB / 0.7152 GB, free: 6.621 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.7365, allocations: 8 kB / 0.7152 GB, free: 6.613 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.7366, allocations: 4 kB / 0.7152 GB, free: 6.609 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.7372, allocations: 209.1 kB / 0.7154 GB, free: 6.402 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7372, allocations: 0 / 0.7154 GB, free: 6.402 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.7372, allocations: 3.938 kB / 0.7154 GB, free: 6.398 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.7372, allocations: 7.938 kB / 0.7154 GB, free: 6.391 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/0.7378, allocations: 235.8 kB / 0.7156 GB, free: 6.16 MB / 0.545 GB
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.002024/0.7399, allocations: 0.5979 MB / 0.7162 GB, free: 5.52 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.7404, allocations: 198.4 kB / 0.7164 GB, free: 5.316 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.7406, allocations: 96.8 kB / 0.7165 GB, free: 5.219 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.7407, allocations: 11.98 kB / 0.7165 GB, free: 5.207 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.7408, allocations: 34.56 kB / 0.7165 GB, free: 5.164 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.7408, allocations: 0 / 0.7165 GB, free: 5.164 MB / 0.545 GB
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.006863/0.7477, allocations: 1.387 MB / 0.7179 GB, free: 3.699 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.7477, allocations: 55.34 kB / 0.7179 GB, free: 3.633 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.7479, allocations: 113.8 kB / 0.7181 GB, free: 3.512 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.7479, allocations: 29.7 kB / 0.7181 GB, free: 3.477 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.7481, allocations: 104.4 kB / 0.7182 GB, free: 3.371 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.7482, allocations: 67.38 kB / 0.7182 GB, free: 3.305 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.7483, allocations: 45.69 kB / 0.7183 GB, free: 3.254 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0002171/0.7485, allocations: 314.8 kB / 0.7186 GB, free: 2.938 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.7488, allocations: 87.95 kB / 0.7187 GB, free: 2.852 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.7491, allocations: 135.3 kB / 0.7188 GB, free: 2.707 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.7497, allocations: 223.2 kB / 0.719 GB, free: 2.477 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7497, allocations: 4 kB / 0.719 GB, free: 2.473 MB / 0.545 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007383/0.7504, allocations: 285.3 kB / 0.7193 GB, free: 2.188 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.7504, allocations: 8 kB / 0.7193 GB, free: 2.18 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.7504, allocations: 0 / 0.7193 GB, free: 2.18 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.7506, allocations: 24.78 kB / 0.7193 GB, free: 2.152 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.7511, allocations: 60.05 kB / 0.7194 GB, free: 2.094 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005107/0.7516, allocations: 0.5329 MB / 0.7199 GB, free: 1.535 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.752, allocations: 11.92 kB / 0.7199 GB, free: 1.523 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.752, allocations: 12 kB / 0.7199 GB, free: 1.512 MB / 0.545 GB
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.0001785/0.7522, allocations: 125.9 kB / 0.72 GB, free: 1.379 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/0.7523, allocations: 7.953 kB / 0.72 GB, free: 1.371 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.7531, allocations: 327.2 kB / 0.7204 GB, free: 1.043 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7531, allocations: 4 kB / 0.7204 GB, free: 1.039 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.7531, allocations: 4 kB / 0.7204 GB, free: 1.035 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7531, allocations: 0 / 0.7204 GB, free: 1.035 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.7545, allocations: 0.6416 MB / 0.721 GB, free: 336 kB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7545, allocations: 4.094 kB / 0.721 GB, free: 332 kB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.7549, allocations: 51.89 kB / 0.721 GB, free: 280 kB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.102e-05/0.755, allocations: 24.84 kB / 0.7211 GB, free: 252 kB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.7551, allocations: 15.98 kB / 0.7211 GB, free: 236 kB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.7562, allocations: 1.259 MB / 0.7223 GB, free: 14.86 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7562, allocations: 0 / 0.7223 GB, free: 14.86 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.7572, allocations: 454.8 kB / 0.7228 GB, free: 14.39 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.7573, allocations: 7.984 kB / 0.7228 GB, free: 14.38 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.7573, allocations: 8 kB / 0.7228 GB, free: 14.37 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.7577, allocations: 12.05 kB / 0.7228 GB, free: 14.36 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.7577, allocations: 15.97 kB / 0.7228 GB, free: 14.34 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.7577, allocations: 8 kB / 0.7228 GB, free: 14.34 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 8.279e-05/0.7578, allocations: 91.27 kB / 0.7229 GB, free: 14.25 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/0.7578, allocations: 3.938 kB / 0.7229 GB, free: 14.24 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.0007111/0.7585, allocations: 135.7 kB / 0.723 GB, free: 14.11 MB / 0.5606 GB
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.0008704/0.7594, allocations: 262.7 kB / 0.7233 GB, free: 13.84 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0007115/0.7601, allocations: 238 kB / 0.7235 GB, free: 13.61 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7601, allocations: 4 kB / 0.7235 GB, free: 13.61 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.7606, allocations: 222.5 kB / 0.7237 GB, free: 13.38 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.7611, allocations: 50.05 kB / 0.7238 GB, free: 13.33 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.7621, allocations: 476.2 kB / 0.7242 GB, free: 12.83 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.7625, allocations: 0.7047 MB / 0.7249 GB, free: 12.1 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0003138/0.7629, allocations: 61.31 kB / 0.725 GB, free: 12.04 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.763, allocations: 23.42 kB / 0.725 GB, free: 12.02 MB / 0.5606 GB
Notification: Performance of SimCode: time 5.81e-07/0.763, allocations: 0 / 0.725 GB, free: 12.02 MB / 0.5606 GB
Notification: Performance of Templates: time 0.01342/0.7764, allocations: 6.369 MB / 0.7312 GB, free: 5.652 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.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: 6.392040589824319]