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.001692/0.001692, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002041, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2456/0.2456, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 72.91 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1455, allocations: 62.44 MB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4536/0.5991, allocations: 150.4 MB / 0.6151 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.6013, allocations: 1.591 MB / 0.6166 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.6015, allocations: 0 / 0.6166 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.602, allocations: 47.78 kB / 0.6167 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.603, allocations: 367.3 kB / 0.617 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.6036, allocations: 163.5 kB / 0.6172 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.6039, allocations: 183.3 kB / 0.6173 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.604, allocations: 7.938 kB / 0.6174 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.6042, allocations: 85.59 kB / 0.6174 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.6043, allocations: 55.83 kB / 0.6175 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.6043, allocations: 8 kB / 0.6175 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.6055, allocations: 0.6275 MB / 0.6181 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.6055, allocations: 35.84 kB / 0.6181 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.6056, allocations: 58.22 kB / 0.6182 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006772/0.6063, allocations: 435 kB / 0.6186 GB, free: 9.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6063, allocations: 0 / 0.6186 GB, free: 9.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.6063, allocations: 3.938 kB / 0.6186 GB, free: 9.801 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.6063, allocations: 0 / 0.6186 GB, free: 9.801 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.0006858/0.607, allocations: 439.4 kB / 0.619 GB, free: 9.324 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6071, allocations: 8.031 kB / 0.619 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.6093, allocations: 196.6 kB / 0.6192 GB, free: 9.125 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.6096, allocations: 208.2 kB / 0.6194 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.6096, allocations: 7.938 kB / 0.6194 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.6097, allocations: 12 kB / 0.6195 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.6102, allocations: 204.8 kB / 0.6196 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6102, allocations: 0 / 0.6196 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.6102, allocations: 8 kB / 0.6197 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6102, allocations: 0 / 0.6197 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/0.6108, allocations: 239.8 kB / 0.6199 GB, free: 8.418 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.001739/0.6126, allocations: 0.6608 MB / 0.6205 GB, free: 7.703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.613, allocations: 190.4 kB / 0.6207 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.6133, allocations: 92.81 kB / 0.6208 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.6134, allocations: 93.09 kB / 0.6209 GB, free: 7.305 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.6135, allocations: 30.56 kB / 0.6209 GB, free: 7.266 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.6135, allocations: 0 / 0.6209 GB, free: 7.266 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.006051/0.6195, allocations: 1.55 MB / 0.6224 GB, free: 5.609 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.6196, allocations: 51.41 kB / 0.6225 GB, free: 5.547 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.6197, allocations: 113.8 kB / 0.6226 GB, free: 5.426 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.6197, allocations: 29.69 kB / 0.6226 GB, free: 5.391 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.6198, allocations: 96.33 kB / 0.6227 GB, free: 5.293 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.6199, allocations: 75.02 kB / 0.6228 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.62, allocations: 41.7 kB / 0.6228 GB, free: 5.172 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6202, allocations: 322.8 kB / 0.6231 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.6204, allocations: 87.95 kB / 0.6232 GB, free: 4.762 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.6207, allocations: 127.3 kB / 0.6233 GB, free: 4.625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.6212, allocations: 226.7 kB / 0.6236 GB, free: 4.395 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6212, allocations: 0 / 0.6236 GB, free: 4.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006435/0.6218, allocations: 286.1 kB / 0.6238 GB, free: 4.105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6219, allocations: 8 kB / 0.6238 GB, free: 4.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.6219, allocations: 3.984 kB / 0.6238 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.622, allocations: 28.94 kB / 0.6239 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.6225, allocations: 51.91 kB / 0.6239 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003921/0.6229, allocations: 0.5329 MB / 0.6244 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.6232, allocations: 13.78 kB / 0.6244 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.6232, allocations: 15.92 kB / 0.6245 GB, free: 3.426 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.000133/0.6234, allocations: 121.8 kB / 0.6246 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.6235, allocations: 15.91 kB / 0.6246 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008071/0.6243, allocations: 307.1 kB / 0.6249 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6243, allocations: 7.938 kB / 0.6249 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6243, allocations: 3.984 kB / 0.6249 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.6243, allocations: 0 / 0.6249 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.6255, allocations: 0.6796 MB / 0.6256 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.6255, allocations: 7.938 kB / 0.6256 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.626, allocations: 47.95 kB / 0.6256 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-05/0.6261, allocations: 20.84 kB / 0.6256 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.6261, allocations: 4 kB / 0.6256 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.6273, allocations: 1.372 MB / 0.627 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6274, allocations: 0 / 0.627 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008754/0.6282, allocations: 452.9 kB / 0.6274 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.6283, allocations: 89.03 kB / 0.6275 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.6283, allocations: 8 kB / 0.6275 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.6287, allocations: 8 kB / 0.6275 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.6287, allocations: 19.91 kB / 0.6275 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.6288, allocations: 12 kB / 0.6275 GB, free: 0 / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.6289, allocations: 87.38 kB / 0.6276 GB, free: 15.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6289, allocations: 0 / 0.6276 GB, free: 15.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006496/0.6295, allocations: 139.9 kB / 0.6278 GB, free: 15.77 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.0008031/0.6304, allocations: 255 kB / 0.628 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007062/0.6311, allocations: 247.6 kB / 0.6282 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6311, allocations: 4 kB / 0.6282 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.6316, allocations: 234.9 kB / 0.6285 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.6321, allocations: 49.14 kB / 0.6285 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.6332, allocations: 0.5138 MB / 0.629 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.6336, allocations: 0.7046 MB / 0.6297 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004425/0.6341, allocations: 53.39 kB / 0.6297 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.6342, allocations: 23.42 kB / 0.6298 GB, free: 13.64 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6342, allocations: 0 / 0.6298 GB, free: 13.64 MB / 478.1 MB Notification: Performance of Templates: time 0.01135/0.6456, allocations: 6.183 MB / 0.6358 GB, free: 7.473 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches