Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000944/0.0009442, allocations: 100.9 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2792/0.2792, allocations: 43.48 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009338/0.000934, allocations: 47.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09288, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2965/0.3894, allocations: 148.6 MB / 0.6207 GB, free: 11.06 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.3911, allocations: 1.537 MB / 0.6222 GB, free: 9.859 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.3912, allocations: 3.938 kB / 0.6222 GB, free: 9.855 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.3914, allocations: 51.84 kB / 0.6223 GB, free: 9.82 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006824/0.3922, allocations: 352.1 kB / 0.6226 GB, free: 9.562 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.3926, allocations: 145 kB / 0.6228 GB, free: 9.461 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.3928, allocations: 244.5 kB / 0.623 GB, free: 9.336 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.3929, allocations: 17.53 kB / 0.623 GB, free: 9.328 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.393, allocations: 73.83 kB / 0.6231 GB, free: 9.293 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3931, allocations: 63.44 kB / 0.6231 GB, free: 9.258 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3932, allocations: 4.719 kB / 0.6231 GB, free: 9.258 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009469/0.3941, allocations: 0.669 MB / 0.6238 GB, free: 8.895 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.3942, allocations: 31.75 kB / 0.6238 GB, free: 8.871 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.3942, allocations: 50.11 kB / 0.6239 GB, free: 8.848 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.3948, allocations: 436.6 kB / 0.6243 GB, free: 8.602 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3948, allocations: 0 / 0.6243 GB, free: 8.602 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3948, allocations: 4 kB / 0.6243 GB, free: 8.598 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.3948, allocations: 0 / 0.6243 GB, free: 8.598 MB / 442.7 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.0004674/0.3953, allocations: 428.5 kB / 0.6247 GB, free: 8.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3953, allocations: 10.34 kB / 0.6247 GB, free: 8.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.3974, allocations: 188.5 kB / 0.6249 GB, free: 8.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3977, allocations: 209.5 kB / 0.6251 GB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3977, allocations: 13.56 kB / 0.6251 GB, free: 7.848 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.3978, allocations: 12.92 kB / 0.6251 GB, free: 7.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.3982, allocations: 200 kB / 0.6253 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3982, allocations: 0 / 0.6253 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.3983, allocations: 2.719 kB / 0.6253 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3983, allocations: 0 / 0.6253 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/0.3989, allocations: 245.8 kB / 0.6256 GB, free: 7.582 MB / 442.7 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.001746/0.4006, allocations: 0.6618 MB / 0.6262 GB, free: 7.008 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.4011, allocations: 182.6 kB / 0.6264 GB, free: 6.902 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.4013, allocations: 101 kB / 0.6265 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.4015, allocations: 96.73 kB / 0.6266 GB, free: 6.738 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.4015, allocations: 34.5 kB / 0.6266 GB, free: 6.695 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.4015, allocations: 2.469 kB / 0.6266 GB, free: 6.695 MB / 442.7 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.005472/0.407, allocations: 1.522 MB / 0.6281 GB, free: 5.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.407, allocations: 55.41 kB / 0.6281 GB, free: 5.523 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.4071, allocations: 109.8 kB / 0.6282 GB, free: 5.406 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.4072, allocations: 41.64 kB / 0.6283 GB, free: 5.359 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.4072, allocations: 100.2 kB / 0.6284 GB, free: 5.258 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.4073, allocations: 67 kB / 0.6284 GB, free: 5.191 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/0.4074, allocations: 45.69 kB / 0.6285 GB, free: 5.141 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.4075, allocations: 318.8 kB / 0.6288 GB, free: 4.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.4077, allocations: 91.94 kB / 0.6289 GB, free: 4.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.4079, allocations: 130 kB / 0.629 GB, free: 4.598 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.4084, allocations: 223.1 kB / 0.6292 GB, free: 4.371 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.4084, allocations: 0 / 0.6292 GB, free: 4.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005743/0.409, allocations: 294.1 kB / 0.6295 GB, free: 4.074 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.409, allocations: 4 kB / 0.6295 GB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.409, allocations: 0 / 0.6295 GB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001105/0.4091, allocations: 24.84 kB / 0.6295 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.4096, allocations: 55.89 kB / 0.6296 GB, free: 3.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000316/0.4099, allocations: 0.5407 MB / 0.6301 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.4102, allocations: 15.88 kB / 0.6301 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.4102, allocations: 8 kB / 0.6301 GB, free: 3.398 MB / 442.7 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.0001118/0.4104, allocations: 133.7 kB / 0.6303 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.4104, allocations: 8 kB / 0.6303 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007234/0.4112, allocations: 315.1 kB / 0.6306 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4112, allocations: 0 / 0.6306 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4112, allocations: 7.938 kB / 0.6306 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4112, allocations: 0 / 0.6306 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.4122, allocations: 0.6718 MB / 0.6312 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4122, allocations: 0 / 0.6312 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.4127, allocations: 59.98 kB / 0.6313 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.05e-05/0.4127, allocations: 16.84 kB / 0.6313 GB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.4128, allocations: 11.98 kB / 0.6313 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007682/0.4136, allocations: 1.269 MB / 0.6325 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4136, allocations: 4.031 kB / 0.6326 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02569/0.4393, allocations: 4.892 MB / 0.6373 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.4393, allocations: 98.2 kB / 0.6374 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.4394, allocations: 7.922 kB / 0.6374 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.4397, allocations: 12 kB / 0.6374 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.4398, allocations: 15.97 kB / 0.6375 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.4398, allocations: 8 kB / 0.6375 GB, free: 11.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.4399, allocations: 91.27 kB / 0.6376 GB, free: 11.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4399, allocations: 0 / 0.6376 GB, free: 11.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009377/0.4408, allocations: 336 kB / 0.6379 GB, free: 10.9 MB / 458.7 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.001932/0.4428, allocations: 479.2 kB / 0.6383 GB, free: 10.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005989/0.4434, allocations: 224 kB / 0.6385 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4434, allocations: 0 / 0.6385 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.4438, allocations: 240.1 kB / 0.6388 GB, free: 9.953 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.4442, allocations: 53.11 kB / 0.6388 GB, free: 9.902 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.4452, allocations: 0.8047 MB / 0.6396 GB, free: 9.039 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.4455, allocations: 0.7089 MB / 0.6403 GB, free: 8.305 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004335/0.4459, allocations: 65.59 kB / 0.6404 GB, free: 8.242 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4461, allocations: 23.44 kB / 0.6404 GB, free: 8.219 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4461, allocations: 0 / 0.6404 GB, free: 8.219 MB / 458.7 MB Notification: Performance of Templates: time 0.02251/0.4686, allocations: 18.45 MB / 0.6584 GB, free: 5.727 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches