Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 103.7 kB / 16.27 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 186.9 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2333/0.2333, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001573, allocations: 69.12 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1414, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5641/0.7056, allocations: 179.6 MB / 0.6056 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009271/0.7149, allocations: 5.757 MB / 0.6113 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008789/0.7158, allocations: 20.69 kB / 0.6113 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.7171, allocations: 312.3 kB / 0.6116 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.7222, allocations: 1.568 MB / 0.6131 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.7263, allocations: 1.245 MB / 0.6143 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002828/0.7292, allocations: 1.846 MB / 0.6161 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007944/0.73, allocations: 469.5 kB / 0.6166 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.7335, allocations: 1.232 MB / 0.6178 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.7354, allocations: 0.7399 MB / 0.6185 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.7356, allocations: 60.16 kB / 0.6186 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.7378, allocations: 0.7412 MB / 0.6193 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.7381, allocations: 266.5 kB / 0.6195 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.7386, allocations: 395 kB / 0.6199 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.7408, allocations: 1.409 MB / 0.6213 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7408, allocations: 0 / 0.6213 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7408, allocations: 7.938 kB / 0.6213 GB, free: 15.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.7408, allocations: 0 / 0.6213 GB, free: 15.69 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002495/0.7433, allocations: 1.138 MB / 0.6224 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.7434, allocations: 11.89 kB / 0.6224 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008664/0.7443, allocations: 135.1 kB / 0.6225 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.7453, allocations: 0.5079 MB / 0.623 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.7455, allocations: 100.4 kB / 0.6231 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7456, allocations: 51.98 kB / 0.6232 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.747, allocations: 0.8136 MB / 0.624 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.747, allocations: 7.938 kB / 0.624 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.7471, allocations: 24 kB / 0.624 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.943e-05/0.7472, allocations: 36.98 kB / 0.624 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.7483, allocations: 0.6165 MB / 0.6246 GB, free: 12.22 MB / 446.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.004736/0.753, allocations: 3.992 MB / 0.6285 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.7536, allocations: 356.8 kB / 0.6289 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.754, allocations: 169.3 kB / 0.629 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.7546, allocations: 361.4 kB / 0.6294 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.7547, allocations: 38.84 kB / 0.6294 GB, free: 7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/0.7547, allocations: 0 / 0.6294 GB, free: 7 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.0062/0.7609, allocations: 1.671 MB / 0.6311 GB, free: 5.254 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.761, allocations: 132.5 kB / 0.6312 GB, free: 5.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/0.7618, allocations: 0.621 MB / 0.6318 GB, free: 4.465 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.7618, allocations: 33.7 kB / 0.6318 GB, free: 4.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.7621, allocations: 366.9 kB / 0.6322 GB, free: 4.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.7623, allocations: 142 kB / 0.6323 GB, free: 3.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.7625, allocations: 158.4 kB / 0.6325 GB, free: 3.762 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.7627, allocations: 374.8 kB / 0.6328 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.7631, allocations: 205.9 kB / 0.633 GB, free: 3.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000619/0.7637, allocations: 0.5164 MB / 0.6335 GB, free: 2.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.7648, allocations: 0.7487 MB / 0.6343 GB, free: 1.633 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.7648, allocations: 0 / 0.6343 GB, free: 1.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001444/0.7662, allocations: 0.8756 MB / 0.6351 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.7663, allocations: 8 kB / 0.6351 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.7663, allocations: 12.88 kB / 0.6351 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.7677, allocations: 323.6 kB / 0.6354 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.7682, allocations: 123.8 kB / 0.6356 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.7693, allocations: 0.9347 MB / 0.6365 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.7698, allocations: 24 kB / 0.6365 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.824e-05/0.7699, allocations: 71.92 kB / 0.6366 GB, free: 15.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003328/0.7703, allocations: 246.4 kB / 0.6368 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.7704, allocations: 71.17 kB / 0.6369 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.7719, allocations: 0.6823 MB / 0.6375 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.7719, allocations: 4 kB / 0.6375 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7719, allocations: 0 / 0.6375 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.772, allocations: 7.938 kB / 0.6375 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.7742, allocations: 1.603 MB / 0.6391 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7742, allocations: 3.938 kB / 0.6391 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.7753, allocations: 207.9 kB / 0.6393 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.112e-05/0.7754, allocations: 28.84 kB / 0.6393 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.7754, allocations: 23.98 kB / 0.6394 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.7775, allocations: 2.877 MB / 0.6422 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7776, allocations: 0 / 0.6422 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.7788, allocations: 0.811 MB / 0.643 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.779, allocations: 188.2 kB / 0.6431 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.7792, allocations: 15.98 kB / 0.6432 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.7795, allocations: 16.06 kB / 0.6432 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.7797, allocations: 35.95 kB / 0.6432 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.7797, allocations: 43.98 kB / 0.6432 GB, free: 7.879 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005132/0.7802, allocations: 447 kB / 0.6437 GB, free: 7.445 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7803, allocations: 0 / 0.6437 GB, free: 7.445 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009829/0.7812, allocations: 288 kB / 0.6439 GB, free: 7.164 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0009292/0.7822, allocations: 380.8 kB / 0.6443 GB, free: 6.793 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.7834, allocations: 0.6015 MB / 0.6449 GB, free: 6.191 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.7834, allocations: 7.859 kB / 0.6449 GB, free: 6.184 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.7845, allocations: 411.8 kB / 0.6453 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.7862, allocations: 369.6 kB / 0.6456 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.7884, allocations: 1.328 MB / 0.6469 GB, free: 4.051 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.7889, allocations: 0.9261 MB / 0.6478 GB, free: 3.098 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.79, allocations: 266 kB / 0.6481 GB, free: 2.836 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.7903, allocations: 99.41 kB / 0.6482 GB, free: 2.738 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.7903, allocations: 0 / 0.6482 GB, free: 2.738 MB / 462.1 MB Notification: Performance of Templates: time 0.0332/0.8235, allocations: 18.33 MB / 0.6661 GB, free: 464 kB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches