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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009646/0.0009647, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008337/0.0008336, allocations: 108.2 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2879/0.2879, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002293, allocations: 4 kB / 468.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3146, allocations: 63.24 MB / 0.5192 GB, free: 43.56 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.623, allocations: 0.6972 GB / 1.216 GB, free: 132.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.623, allocations: 75.97 kB / 1.216 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.06553/1.689, allocations: 34.24 MB / 1.25 GB, free: 98.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.234e-06/1.689, allocations: 0 / 1.25 GB, free: 98.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.689, allocations: 0 / 1.25 GB, free: 98.3 MB / 0.5417 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.0004557/1.69, allocations: 427.7 kB / 1.25 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.69, allocations: 12.03 kB / 1.25 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/1.691, allocations: 186.1 kB / 1.25 GB, free: 97.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/1.691, allocations: 210.9 kB / 1.251 GB, free: 97.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.691, allocations: 4.188 kB / 1.251 GB, free: 97.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/1.692, allocations: 12 kB / 1.251 GB, free: 97.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/1.692, allocations: 192.9 kB / 1.251 GB, free: 97.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.692, allocations: 15.95 kB / 1.251 GB, free: 97.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/1.692, allocations: 4 kB / 1.251 GB, free: 97.17 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/1.692, allocations: 0 / 1.251 GB, free: 97.17 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/1.692, allocations: 216.4 kB / 1.251 GB, free: 96.96 MB / 0.5417 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.001199/1.694, allocations: 0.6172 MB / 1.252 GB, free: 96.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/1.694, allocations: 170.5 kB / 1.252 GB, free: 96.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/1.694, allocations: 97.09 kB / 1.252 GB, free: 96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/1.694, allocations: 34.5 kB / 1.252 GB, free: 95.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/1.694, allocations: 3.938 kB / 1.252 GB, free: 95.96 MB / 0.5417 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.004922/1.699, allocations: 1.456 MB / 1.253 GB, free: 94.39 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.699, allocations: 55.41 kB / 1.253 GB, free: 94.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/1.699, allocations: 108.9 kB / 1.254 GB, free: 94.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/1.699, allocations: 37.64 kB / 1.254 GB, free: 94.17 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/1.699, allocations: 96.25 kB / 1.254 GB, free: 94.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/1.699, allocations: 71 kB / 1.254 GB, free: 94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/1.699, allocations: 4 kB / 1.254 GB, free: 93.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.848e-05/1.699, allocations: 322.8 kB / 1.254 GB, free: 93.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/1.7, allocations: 83.95 kB / 1.254 GB, free: 93.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.7, allocations: 112.8 kB / 1.254 GB, free: 93.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/1.7, allocations: 93.23 kB / 1.254 GB, free: 93.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.7, allocations: 3.938 kB / 1.254 GB, free: 93.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004609/1.7, allocations: 261.3 kB / 1.255 GB, free: 93.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.7, allocations: 4 kB / 1.255 GB, free: 93.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/1.7, allocations: 4 kB / 1.255 GB, free: 93.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/1.701, allocations: 28.92 kB / 1.255 GB, free: 93.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/1.701, allocations: 55.91 kB / 1.255 GB, free: 93.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002634/1.701, allocations: 0.5328 MB / 1.255 GB, free: 92.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/1.701, allocations: 8.031 kB / 1.255 GB, free: 92.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/1.701, allocations: 12 kB / 1.255 GB, free: 92.44 MB / 0.5417 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 (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.0001032/1.702, allocations: 133.8 kB / 1.255 GB, free: 92.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/1.702, allocations: 11.91 kB / 1.255 GB, free: 92.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/1.702, allocations: 287 kB / 1.256 GB, free: 92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.702, allocations: 7.953 kB / 1.256 GB, free: 91.99 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.702, allocations: 0 / 1.256 GB, free: 91.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.702, allocations: 0 / 1.256 GB, free: 91.99 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008729/1.703, allocations: 0.6453 MB / 1.256 GB, free: 91.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/1.703, allocations: 3.984 kB / 1.256 GB, free: 91.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/1.704, allocations: 47.95 kB / 1.256 GB, free: 91.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.846e-05/1.704, allocations: 20.84 kB / 1.256 GB, free: 91.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/1.704, allocations: 8 kB / 1.256 GB, free: 91.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005576/1.704, allocations: 1.273 MB / 1.258 GB, free: 89.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.704, allocations: 0 / 1.258 GB, free: 89.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/1.705, allocations: 464 kB / 1.258 GB, free: 89.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/1.705, allocations: 93.06 kB / 1.258 GB, free: 89.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/1.705, allocations: 11.94 kB / 1.258 GB, free: 89.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/1.705, allocations: 11.98 kB / 1.258 GB, free: 89.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/1.705, allocations: 15.92 kB / 1.258 GB, free: 89.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/1.705, allocations: 15.98 kB / 1.258 GB, free: 89.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.404e-05/1.705, allocations: 83.58 kB / 1.258 GB, free: 89.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/1.705, allocations: 0 / 1.258 GB, free: 89.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006939/1.706, allocations: 171.9 kB / 1.258 GB, free: 88.88 MB / 0.5417 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 (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.001027/1.707, allocations: 0.6227 MB / 1.259 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005714/1.708, allocations: 210.2 kB / 1.259 GB, free: 88.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.708, allocations: 4 kB / 1.259 GB, free: 88.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003256/1.708, allocations: 222.5 kB / 1.259 GB, free: 87.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/1.708, allocations: 47.11 kB / 1.26 GB, free: 87.76 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/1.709, allocations: 0.5628 MB / 1.26 GB, free: 87.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/1.709, allocations: 0.7127 MB / 1.261 GB, free: 86.42 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003255/1.71, allocations: 45.39 kB / 1.261 GB, free: 86.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/1.71, allocations: 19.44 kB / 1.261 GB, free: 86.36 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/1.71, allocations: 0 / 1.261 GB, free: 86.36 MB / 0.5417 GB Notification: Performance of Templates: time 0.01278/1.722, allocations: 11.31 MB / 1.272 GB, free: 75.08 MB / 0.5417 GB 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