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.00202/0.00202, allocations: 200.8 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 226.5 MB / 245.4 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 91.44 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4651/0.4651, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003023, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5342, allocations: 62.96 MB / 0.5184 GB, free: 37.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.94/2.474, allocations: 0.6972 GB / 1.216 GB, free: 120 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/2.475, allocations: 75.95 kB / 1.216 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.06897/2.544, allocations: 34.21 MB / 1.249 GB, free: 85.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.274e-06/2.544, allocations: 0 / 1.249 GB, free: 85.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.51e-05/2.544, allocations: 0 / 1.249 GB, free: 85.51 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.0005797/2.544, allocations: 427.5 kB / 1.249 GB, free: 85.04 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/2.544, allocations: 12.03 kB / 1.249 GB, free: 85.03 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/2.546, allocations: 184.5 kB / 1.25 GB, free: 84.85 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/2.546, allocations: 212.2 kB / 1.25 GB, free: 84.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/2.546, allocations: 4.562 kB / 1.25 GB, free: 84.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/2.546, allocations: 12.28 kB / 1.25 GB, free: 84.59 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/2.547, allocations: 204.1 kB / 1.25 GB, free: 84.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/2.547, allocations: 3.984 kB / 1.25 GB, free: 84.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/2.547, allocations: 4 kB / 1.25 GB, free: 84.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/2.547, allocations: 4 kB / 1.25 GB, free: 84.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/2.547, allocations: 211.9 kB / 1.25 GB, free: 84.16 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.001262/2.549, allocations: 0.6245 MB / 1.251 GB, free: 83.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/2.549, allocations: 162.5 kB / 1.251 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/2.549, allocations: 84.81 kB / 1.251 GB, free: 83.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/2.549, allocations: 93.09 kB / 1.251 GB, free: 83.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/2.549, allocations: 34.56 kB / 1.251 GB, free: 83.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 2.795e-06/2.549, allocations: 0 / 1.251 GB, free: 83.08 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.004747/2.554, allocations: 1.47 MB / 1.253 GB, free: 81.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/2.554, allocations: 51.41 kB / 1.253 GB, free: 81.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/2.554, allocations: 113.8 kB / 1.253 GB, free: 81.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/2.554, allocations: 29.7 kB / 1.253 GB, free: 81.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/2.554, allocations: 108.2 kB / 1.253 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/2.554, allocations: 63.02 kB / 1.253 GB, free: 81.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/2.554, allocations: 7.938 kB / 1.253 GB, free: 81.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.756e-05/2.554, allocations: 322.8 kB / 1.253 GB, free: 80.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/2.555, allocations: 79.95 kB / 1.253 GB, free: 80.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/2.555, allocations: 113.8 kB / 1.254 GB, free: 80.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/2.555, allocations: 203.1 kB / 1.254 GB, free: 80.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/2.555, allocations: 0 / 1.254 GB, free: 80.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000475/2.556, allocations: 270.2 kB / 1.254 GB, free: 80.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/2.556, allocations: 4 kB / 1.254 GB, free: 80.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/2.556, allocations: 4 kB / 1.254 GB, free: 80.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/2.556, allocations: 28.88 kB / 1.254 GB, free: 80.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/2.556, allocations: 47.97 kB / 1.254 GB, free: 80 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002697/2.556, allocations: 0.5367 MB / 1.255 GB, free: 79.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/2.557, allocations: 8.031 kB / 1.255 GB, free: 79.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/2.557, allocations: 11.98 kB / 1.255 GB, free: 79.42 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.0001087/2.557, allocations: 138.3 kB / 1.255 GB, free: 79.28 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/2.557, allocations: 11.91 kB / 1.255 GB, free: 79.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/2.557, allocations: 283.4 kB / 1.255 GB, free: 78.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/2.557, allocations: 7.984 kB / 1.255 GB, free: 78.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/2.557, allocations: 0 / 1.255 GB, free: 78.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.557, allocations: 0 / 1.255 GB, free: 78.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/2.558, allocations: 0.6467 MB / 1.256 GB, free: 78.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/2.558, allocations: 3.984 kB / 1.256 GB, free: 78.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/2.559, allocations: 51.91 kB / 1.256 GB, free: 78.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.389e-05/2.559, allocations: 20.78 kB / 1.256 GB, free: 78.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/2.559, allocations: 11.98 kB / 1.256 GB, free: 78.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006134/2.559, allocations: 1.273 MB / 1.257 GB, free: 76.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.559, allocations: 4.031 kB / 1.257 GB, free: 76.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/2.56, allocations: 434.7 kB / 1.257 GB, free: 76.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/2.56, allocations: 89 kB / 1.257 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/2.56, allocations: 0 / 1.257 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/2.56, allocations: 8 kB / 1.258 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/2.56, allocations: 27.97 kB / 1.258 GB, free: 76.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/2.56, allocations: 11.94 kB / 1.258 GB, free: 76.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.537e-05/2.56, allocations: 95.25 kB / 1.258 GB, free: 76.06 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/2.56, allocations: 0 / 1.258 GB, free: 76.06 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006972/2.561, allocations: 171.8 kB / 1.258 GB, free: 75.89 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.001101/2.562, allocations: 0.6121 MB / 1.258 GB, free: 75.28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005158/2.563, allocations: 207.8 kB / 1.259 GB, free: 75.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/2.563, allocations: 4 kB / 1.259 GB, free: 75.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/2.563, allocations: 226.8 kB / 1.259 GB, free: 74.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/2.564, allocations: 48.14 kB / 1.259 GB, free: 74.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/2.564, allocations: 0.5773 MB / 1.259 GB, free: 74.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/2.565, allocations: 0.7049 MB / 1.26 GB, free: 73.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003591/2.565, allocations: 53.61 kB / 1.26 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/2.565, allocations: 23.42 kB / 1.26 GB, free: 73.37 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/2.565, allocations: 0 / 1.26 GB, free: 73.37 MB / 0.5417 GB Notification: Performance of Templates: time 0.01555/2.581, allocations: 11.93 MB / 1.272 GB, free: 61.44 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/jenkins1/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