Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009848/0.0009847, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.0009673/0.0009674, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1919/0.1919, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3431, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1791/0.5222, allocations: 174.3 MB / 0.6892 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00689/0.5291, allocations: 5.346 MB / 0.6944 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/0.5297, allocations: 19.88 kB / 0.6944 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008785/0.5307, allocations: 310 kB / 0.6947 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.534, allocations: 1.326 MB / 0.696 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.5369, allocations: 1.067 MB / 0.697 GB, free: 5.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.5388, allocations: 1.848 MB / 0.6988 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006659/0.5395, allocations: 461.3 kB / 0.6993 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.5416, allocations: 1.07 MB / 0.7003 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.5428, allocations: 0.7393 MB / 0.701 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.5429, allocations: 64 kB / 0.7011 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.5442, allocations: 0.6242 MB / 0.7017 GB, free: 212 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.5445, allocations: 267.2 kB / 0.702 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.5449, allocations: 394.2 kB / 0.7023 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.5464, allocations: 1.312 MB / 0.7036 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5465, allocations: 0 / 0.7036 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5465, allocations: 0 / 0.7036 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.5465, allocations: 0 / 0.7036 GB, free: 14.24 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.002011/0.5485, allocations: 1.128 MB / 0.7047 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.5485, allocations: 8.031 kB / 0.7047 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/0.5493, allocations: 139.5 kB / 0.7049 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/0.5501, allocations: 0.5357 MB / 0.7054 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/0.5502, allocations: 100.4 kB / 0.7055 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.5503, allocations: 48 kB / 0.7055 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.5516, allocations: 0.8136 MB / 0.7063 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.5516, allocations: 3.938 kB / 0.7063 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.5517, allocations: 27.98 kB / 0.7064 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/0.5517, allocations: 40.92 kB / 0.7064 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009779/0.5527, allocations: 0.6205 MB / 0.707 GB, free: 10.6 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.00413/0.5568, allocations: 3.966 MB / 0.7109 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.5574, allocations: 359.6 kB / 0.7112 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.5577, allocations: 169.3 kB / 0.7114 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.5578, allocations: 93.38 kB / 0.7115 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.5579, allocations: 38.84 kB / 0.7115 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.5579, allocations: 3.938 kB / 0.7115 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005269/0.5631, allocations: 1.685 MB / 0.7132 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.5632, allocations: 132.5 kB / 0.7133 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.5639, allocations: 0.6134 MB / 0.7139 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.564, allocations: 33.7 kB / 0.7139 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.5643, allocations: 375.8 kB / 0.7143 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5644, allocations: 150.7 kB / 0.7144 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.5646, allocations: 162.6 kB / 0.7146 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5647, allocations: 378.7 kB / 0.7149 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.5651, allocations: 201.9 kB / 0.7151 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.5656, allocations: 0.5125 MB / 0.7156 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009475/0.5666, allocations: 0.7552 MB / 0.7164 GB, free: 304 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5666, allocations: 4 kB / 0.7164 GB, free: 300 kB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2116/0.7782, allocations: 0.8759 MB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.7782, allocations: 13 kB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.7782, allocations: 13.88 kB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.7797, allocations: 312.1 kB / 0.7175 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.7802, allocations: 122.9 kB / 0.7177 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.7814, allocations: 0.9352 MB / 0.7186 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/0.7821, allocations: 29.09 kB / 0.7186 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.7822, allocations: 64.88 kB / 0.7187 GB, free: 189.2 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.0004392/0.7827, allocations: 242.1 kB / 0.7189 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.7828, allocations: 77.14 kB / 0.719 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.7846, allocations: 0.8652 MB / 0.7198 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.7846, allocations: 5.156 kB / 0.7198 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.7846, allocations: 0 / 0.7198 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.7846, allocations: 3.391 kB / 0.7198 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.7866, allocations: 1.463 MB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7866, allocations: 1.312 kB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.7876, allocations: 211.1 kB / 0.7214 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.357e-05/0.7877, allocations: 26.56 kB / 0.7215 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.7877, allocations: 21.42 kB / 0.7215 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.7892, allocations: 2.88 MB / 0.7243 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7892, allocations: 2.875 kB / 0.7243 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.7904, allocations: 0.8331 MB / 0.7251 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.7906, allocations: 185 kB / 0.7253 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.7907, allocations: 16.45 kB / 0.7253 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.7911, allocations: 16.05 kB / 0.7253 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.7912, allocations: 41.23 kB / 0.7254 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.7913, allocations: 44.11 kB / 0.7254 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000509/0.7918, allocations: 441.4 kB / 0.7258 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7918, allocations: 2.766 kB / 0.7258 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008069/0.7927, allocations: 253.5 kB / 0.7261 GB, free: 184.1 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.000706/0.7934, allocations: 304.2 kB / 0.7264 GB, free: 184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.7944, allocations: 0.5521 MB / 0.7269 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7944, allocations: 5.812 kB / 0.7269 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008945/0.7953, allocations: 425.5 kB / 0.7273 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.7968, allocations: 364.7 kB / 0.7277 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.7986, allocations: 1.336 MB / 0.729 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.799, allocations: 0.9336 MB / 0.7299 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009398/0.7999, allocations: 462.2 kB / 0.7303 GB, free: 182 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.8002, allocations: 116.2 kB / 0.7304 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.8002, allocations: 3.938 kB / 0.7304 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.02267/0.8229, allocations: 17.58 MB / 0.7476 GB, free: 169.7 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches