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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 170.4 kB / 24.82 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3471/0.3471, allocations: 32.81 MB / 294.6 MB, free: 1.164 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.537e-06/3.537e-06, allocations: 0 / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.876e-05/4.23e-05, allocations: 2.312 kB / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.378/0.3781, allocations: 146 MB / 0.5102 GB, free: 18.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.3828, allocations: 2.602 MB / 0.5128 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.3837, allocations: 30.59 kB / 0.5128 GB, free: 17.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008967/0.3846, allocations: 205.9 kB / 0.513 GB, free: 17.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.3878, allocations: 1.183 MB / 0.5142 GB, free: 16.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.3897, allocations: 0.8291 MB / 0.515 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.3919, allocations: 1.922 MB / 0.5169 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005952/0.3924, allocations: 433.9 kB / 0.5173 GB, free: 14.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.3944, allocations: 1.235 MB / 0.5185 GB, free: 14.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007966/0.3952, allocations: 0.5896 MB / 0.5191 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.3953, allocations: 60.28 kB / 0.5191 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009544/0.3963, allocations: 450.2 kB / 0.5195 GB, free: 14.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.3965, allocations: 295.7 kB / 0.5198 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.3968, allocations: 287 kB / 0.5201 GB, free: 13.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.3981, allocations: 0.9925 MB / 0.5211 GB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3981, allocations: 0 / 0.5211 GB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3981, allocations: 0 / 0.5211 GB, free: 13.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.3981, allocations: 0 / 0.5211 GB, free: 13.37 MB / 410.7 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.001555/0.3997, allocations: 1.129 MB / 0.5222 GB, free: 12.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3997, allocations: 8 kB / 0.5222 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000569/0.4003, allocations: 214.9 kB / 0.5224 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.4009, allocations: 481.1 kB / 0.5228 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.401, allocations: 164.5 kB / 0.523 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.401, allocations: 55.97 kB / 0.5231 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.4017, allocations: 0.939 MB / 0.524 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4017, allocations: 0 / 0.524 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.4017, allocations: 24.03 kB / 0.524 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-05/0.4018, allocations: 44.11 kB / 0.524 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.4021, allocations: 255.9 kB / 0.5243 GB, free: 11.15 MB / 410.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.002168/0.4043, allocations: 3.768 MB / 0.528 GB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.4045, allocations: 198.8 kB / 0.5281 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.4046, allocations: 76.59 kB / 0.5282 GB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.087e-05/0.4047, allocations: 27.06 kB / 0.5282 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4047, allocations: 43.86 kB / 0.5283 GB, free: 7.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.883e-06/0.4047, allocations: 0 / 0.5283 GB, free: 7.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.00239/0.4071, allocations: 0.9934 MB / 0.5293 GB, free: 7.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.4072, allocations: 142 kB / 0.5294 GB, free: 7.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.4075, allocations: 0.5458 MB / 0.5299 GB, free: 6.777 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.4075, allocations: 36.58 kB / 0.53 GB, free: 6.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.4077, allocations: 440.5 kB / 0.5304 GB, free: 6.367 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.4077, allocations: 156.6 kB / 0.5305 GB, free: 6.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4079, allocations: 163.3 kB / 0.5307 GB, free: 6.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.408, allocations: 0.5542 MB / 0.5312 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4081, allocations: 79.69 kB / 0.5313 GB, free: 5.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.4084, allocations: 0.6259 MB / 0.5319 GB, free: 4.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.4088, allocations: 0.6699 MB / 0.5326 GB, free: 4.188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4088, allocations: 2.875 kB / 0.5326 GB, free: 4.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006741/0.4095, allocations: 0.6327 MB / 0.5332 GB, free: 3.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4095, allocations: 11.53 kB / 0.5332 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4095, allocations: 8.406 kB / 0.5332 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/0.4101, allocations: 242.6 kB / 0.5334 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.4104, allocations: 132.4 kB / 0.5336 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004965/0.4109, allocations: 0.9778 MB / 0.5345 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.4111, allocations: 28.62 kB / 0.5345 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.4112, allocations: 59.38 kB / 0.5346 GB, free: 3.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001775/0.4114, allocations: 208.9 kB / 0.5348 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.4114, allocations: 78.23 kB / 0.5349 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/0.4122, allocations: 0.6668 MB / 0.5355 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4122, allocations: 2.344 kB / 0.5355 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4122, allocations: 3 kB / 0.5355 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4122, allocations: 0 / 0.5355 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009334/0.4131, allocations: 0.8291 MB / 0.5363 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4132, allocations: 3 kB / 0.5363 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.4136, allocations: 174.7 kB / 0.5365 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.836e-05/0.4137, allocations: 27.31 kB / 0.5365 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.4137, allocations: 16.92 kB / 0.5366 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.415, allocations: 3.517 MB / 0.54 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.415, allocations: 7.031 kB / 0.54 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.4156, allocations: 0.5581 MB / 0.5405 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.4158, allocations: 98.06 kB / 0.5406 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.4158, allocations: 13.41 kB / 0.5406 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.416, allocations: 13.94 kB / 0.5407 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.4161, allocations: 43.25 kB / 0.5407 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.4161, allocations: 34.03 kB / 0.5407 GB, free: 13.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002442/0.4163, allocations: 323.8 kB / 0.541 GB, free: 13.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4163, allocations: 4.031 kB / 0.541 GB, free: 13.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007878/0.4171, allocations: 253.1 kB / 0.5413 GB, free: 13.78 MB / 426.7 MB 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 (38): * Single equations (assignments): 36 * 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.000468/0.4176, allocations: 270.1 kB / 0.5415 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005748/0.4182, allocations: 360.9 kB / 0.5419 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4182, allocations: 0 / 0.5419 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.4186, allocations: 364.1 kB / 0.5422 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008348/0.4195, allocations: 309 kB / 0.5425 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.4213, allocations: 1.166 MB / 0.5437 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.4214, allocations: 164 kB / 0.5438 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000598/0.422, allocations: 364.7 kB / 0.5442 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005927/0.4226, allocations: 376.8 kB / 0.5445 GB, free: 12.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4226, allocations: 0 / 0.5445 GB, free: 12.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02179/0.4444, allocations: 16.61 MB / 0.5608 GB, free: 14.4 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.258447126951069]