Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.12 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4181, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2161/0.6342, allocations: 177.3 MB / 0.7048 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008207/0.6425, allocations: 5.335 MB / 0.71 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009451/0.6435, allocations: 19.88 kB / 0.71 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.6446, allocations: 318 kB / 0.7103 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003936/0.6486, allocations: 1.342 MB / 0.7116 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.6516, allocations: 1.06 MB / 0.7127 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.6539, allocations: 1.856 MB / 0.7145 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.6546, allocations: 457.5 kB / 0.7149 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.6569, allocations: 1.086 MB / 0.716 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.6581, allocations: 0.7744 MB / 0.7167 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.6583, allocations: 60 kB / 0.7168 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.6598, allocations: 0.6203 MB / 0.7174 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.6601, allocations: 263.3 kB / 0.7176 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.6605, allocations: 410.1 kB / 0.718 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.6622, allocations: 1.301 MB / 0.7193 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6622, allocations: 0 / 0.7193 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6622, allocations: 0 / 0.7193 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.6623, allocations: 4 kB / 0.7193 GB, free: 0.875 MB / 0.5606 GB 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.3658/1.028, allocations: 1.094 MB / 0.7204 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.028, allocations: 9.25 kB / 0.7204 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/1.029, allocations: 134.3 kB / 0.7205 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.03, allocations: 0.5326 MB / 0.721 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/1.031, allocations: 99.36 kB / 0.7211 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/1.031, allocations: 53.7 kB / 0.7212 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/1.033, allocations: 0.8179 MB / 0.722 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/1.033, allocations: 5.891 kB / 0.722 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/1.033, allocations: 27.36 kB / 0.722 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.825e-05/1.033, allocations: 40.98 kB / 0.722 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/1.034, allocations: 0.6147 MB / 0.7226 GB, free: 185.2 MB / 0.5606 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.003907/1.038, allocations: 3.925 MB / 0.7265 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/1.038, allocations: 361.4 kB / 0.7268 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/1.039, allocations: 172.1 kB / 0.727 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/1.039, allocations: 94.44 kB / 0.7271 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/1.039, allocations: 38.38 kB / 0.7271 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/1.039, allocations: 0 / 0.7271 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005953/1.045, allocations: 1.677 MB / 0.7287 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/1.045, allocations: 136.9 kB / 0.7289 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/1.046, allocations: 0.6148 MB / 0.7295 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/1.046, allocations: 36.05 kB / 0.7295 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/1.046, allocations: 362.4 kB / 0.7299 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.046, allocations: 141.4 kB / 0.73 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/1.046, allocations: 156.9 kB / 0.7301 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.046, allocations: 374.4 kB / 0.7305 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/1.047, allocations: 208.2 kB / 0.7307 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/1.047, allocations: 0.5151 MB / 0.7312 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009536/1.048, allocations: 0.7454 MB / 0.7319 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.048, allocations: 2.312 kB / 0.7319 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001586/1.05, allocations: 0.8849 MB / 0.7328 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.05, allocations: 10.03 kB / 0.7328 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.05, allocations: 9.656 kB / 0.7328 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/1.051, allocations: 319.4 kB / 0.7331 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/1.052, allocations: 117.7 kB / 0.7332 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/1.053, allocations: 0.9407 MB / 0.7342 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/1.053, allocations: 27.41 kB / 0.7342 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.054, allocations: 70.11 kB / 0.7342 GB, free: 176.3 MB / 0.5606 GB 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.0003637/1.054, allocations: 244 kB / 0.7345 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/1.054, allocations: 72.5 kB / 0.7345 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/1.056, allocations: 0.8737 MB / 0.7354 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.056, allocations: 3.969 kB / 0.7354 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.056, allocations: 0 / 0.7354 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.056, allocations: 0 / 0.7354 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/1.057, allocations: 1.457 MB / 0.7368 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.057, allocations: 2.469 kB / 0.7368 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000999/1.058, allocations: 211.5 kB / 0.737 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.238e-05/1.059, allocations: 28.67 kB / 0.7371 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/1.059, allocations: 19.81 kB / 0.7371 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/1.06, allocations: 2.875 MB / 0.7399 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.06, allocations: 7.906 kB / 0.7399 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/1.061, allocations: 0.8104 MB / 0.7407 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/1.061, allocations: 196.2 kB / 0.7409 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.062, allocations: 12 kB / 0.7409 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/1.062, allocations: 23.98 kB / 0.7409 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/1.062, allocations: 39.95 kB / 0.7409 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/1.062, allocations: 43.98 kB / 0.741 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004217/1.063, allocations: 439 kB / 0.7414 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.063, allocations: 0 / 0.7414 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009103/1.063, allocations: 247.5 kB / 0.7416 GB, free: 169.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0007467/1.064, allocations: 301.3 kB / 0.7419 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009931/1.065, allocations: 0.5552 MB / 0.7425 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.065, allocations: 5.219 kB / 0.7425 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008222/1.066, allocations: 414.1 kB / 0.7429 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/1.068, allocations: 375.6 kB / 0.7432 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/1.069, allocations: 1.369 MB / 0.7446 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/1.07, allocations: 0.93 MB / 0.7455 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/1.07, allocations: 123.4 kB / 0.7456 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/1.07, allocations: 4 kB / 0.7456 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.01711/1.087, allocations: 16.62 MB / 0.7618 GB, free: 148.9 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p