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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 96.06 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001542, allocations: 204.2 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.2 MB / 245.9 MB, free: 12.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 45.91 MB / 344 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.00027, allocations: 8 kB / 417.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 63.46 MB / 481.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4438/0.5855, allocations: 125.8 MB / 0.5929 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.5872, allocations: 1.31 MB / 0.5942 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.5872, allocations: 0 / 0.5942 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.5875, allocations: 39.8 kB / 0.5942 GB, free: 6.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006568/0.5882, allocations: 295.1 kB / 0.5945 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.5886, allocations: 123.7 kB / 0.5946 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.5888, allocations: 120.5 kB / 0.5947 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.5888, allocations: 11.98 kB / 0.5947 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.589, allocations: 79.75 kB / 0.5948 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.5891, allocations: 47.83 kB / 0.5949 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.5891, allocations: 4 kB / 0.5949 GB, free: 5.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008424/0.59, allocations: 447.3 kB / 0.5953 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.5901, allocations: 31.91 kB / 0.5953 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.5901, allocations: 41.7 kB / 0.5954 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.5905, allocations: 262.4 kB / 0.5956 GB, free: 5.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.5905, allocations: 4 kB / 0.5956 GB, free: 5.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5905, allocations: 0 / 0.5956 GB, free: 5.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.5905, allocations: 0 / 0.5956 GB, free: 5.008 MB / 430.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.0004686/0.591, allocations: 415.9 kB / 0.596 GB, free: 4.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5911, allocations: 8.031 kB / 0.596 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.5932, allocations: 195.6 kB / 0.5962 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.5935, allocations: 211.7 kB / 0.5964 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5935, allocations: 8.188 kB / 0.5964 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.5936, allocations: 4 kB / 0.5964 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.594, allocations: 206 kB / 0.5966 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.594, allocations: 3.938 kB / 0.5966 GB, free: 3.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.5941, allocations: 4 kB / 0.5966 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5941, allocations: 0 / 0.5966 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.5946, allocations: 240.4 kB / 0.5969 GB, free: 3.652 MB / 430.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.001649/0.5963, allocations: 0.6748 MB / 0.5975 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.5967, allocations: 190.1 kB / 0.5977 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.5969, allocations: 97.03 kB / 0.5978 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.5969, allocations: 34.81 kB / 0.5978 GB, free: 2.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.5969, allocations: 0 / 0.5978 GB, free: 2.578 MB / 430.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.005474/0.6024, allocations: 1.538 MB / 0.5993 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.6024, allocations: 55.41 kB / 0.5994 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.6025, allocations: 105.8 kB / 0.5995 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.6026, allocations: 33.7 kB / 0.5995 GB, free: 0.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.6026, allocations: 100.2 kB / 0.5996 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.6027, allocations: 71 kB / 0.5997 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.6027, allocations: 8 kB / 0.5997 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6028, allocations: 318.8 kB / 0.6 GB, free: 212 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.603, allocations: 91.94 kB / 0.6001 GB, free: 120 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.6033, allocations: 115.4 kB / 0.6002 GB, free: 15.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.6035, allocations: 103.9 kB / 0.6003 GB, free: 15.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6035, allocations: 0 / 0.6003 GB, free: 15.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005751/0.6041, allocations: 281.4 kB / 0.6006 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6041, allocations: 7.984 kB / 0.6006 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.6041, allocations: 96 / 0.6006 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.6043, allocations: 28.84 kB / 0.6006 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.6047, allocations: 51.91 kB / 0.6006 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003659/0.6051, allocations: 0.5329 MB / 0.6012 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.6054, allocations: 20.06 kB / 0.6012 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.6055, allocations: 11.94 kB / 0.6012 GB, free: 14.93 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.6056, allocations: 133.7 kB / 0.6013 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.6057, allocations: 7.906 kB / 0.6013 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.6064, allocations: 315 kB / 0.6016 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6065, allocations: 0 / 0.6016 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6065, allocations: 0 / 0.6016 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6065, allocations: 3.984 kB / 0.6016 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.6076, allocations: 0.6783 MB / 0.6023 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6076, allocations: 3.938 kB / 0.6023 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.608, allocations: 47.95 kB / 0.6023 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.349e-05/0.6081, allocations: 20.84 kB / 0.6024 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.6082, allocations: 4 kB / 0.6024 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008759/0.609, allocations: 1.285 MB / 0.6036 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6091, allocations: 3.938 kB / 0.6036 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.6099, allocations: 486.5 kB / 0.6041 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.61, allocations: 89 kB / 0.6042 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.61, allocations: 4 kB / 0.6042 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.6103, allocations: 11.95 kB / 0.6042 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.6104, allocations: 23.91 kB / 0.6042 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.6104, allocations: 4 kB / 0.6042 GB, free: 11.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.6105, allocations: 95.25 kB / 0.6043 GB, free: 11.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6105, allocations: 4.062 kB / 0.6043 GB, free: 11.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005557/0.611, allocations: 131.9 kB / 0.6044 GB, free: 11.32 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005873/0.6116, allocations: 231 kB / 0.6047 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005678/0.6122, allocations: 235.7 kB / 0.6049 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6122, allocations: 0 / 0.6049 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.6126, allocations: 226.6 kB / 0.6051 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.613, allocations: 52.22 kB / 0.6051 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/0.6138, allocations: 0.5744 MB / 0.6057 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.6141, allocations: 0.7088 MB / 0.6064 GB, free: 9.223 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003917/0.6145, allocations: 49.39 kB / 0.6064 GB, free: 9.176 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.6146, allocations: 31.42 kB / 0.6065 GB, free: 9.145 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6146, allocations: 0 / 0.6065 GB, free: 9.145 MB / 446.1 MB Notification: Performance of Templates: time 0.01021/0.6248, allocations: 5.986 MB / 0.6123 GB, free: 3.176 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (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) 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches