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.001863/0.001863, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002107/0.002107, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3563/0.3563, allocations: 32.8 MB / 293.9 MB, free: 1.203 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 2.094e-06/2.094e-06, allocations: 0 / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.969e-05, allocations: 2.312 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3835/0.3836, allocations: 153.8 MB / 0.5167 GB, free: 11.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006169/0.3897, allocations: 4.915 MB / 0.5215 GB, free: 8.516 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.3904, allocations: 31 kB / 0.5215 GB, free: 8.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008799/0.3913, allocations: 311.2 kB / 0.5218 GB, free: 8.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.3945, allocations: 1.388 MB / 0.5231 GB, free: 7.574 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.3971, allocations: 1.088 MB / 0.5242 GB, free: 7.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.3991, allocations: 1.883 MB / 0.526 GB, free: 6.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000532/0.3997, allocations: 415.2 kB / 0.5264 GB, free: 5.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.4019, allocations: 1.348 MB / 0.5277 GB, free: 5.336 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.403, allocations: 0.7315 MB / 0.5285 GB, free: 5.094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.4031, allocations: 61.12 kB / 0.5285 GB, free: 5.094 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.4043, allocations: 0.5534 MB / 0.5291 GB, free: 4.941 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.4046, allocations: 285.1 kB / 0.5293 GB, free: 4.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.4049, allocations: 287.6 kB / 0.5296 GB, free: 4.699 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.4065, allocations: 1.391 MB / 0.531 GB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4065, allocations: 0 / 0.531 GB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4065, allocations: 7 kB / 0.531 GB, free: 4.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.4065, allocations: 0 / 0.531 GB, free: 4.219 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.001955/0.4084, allocations: 1.035 MB / 0.532 GB, free: 3.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4085, allocations: 13.02 kB / 0.532 GB, free: 3.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008686/0.4093, allocations: 219.9 kB / 0.5322 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007376/0.4101, allocations: 0.4937 MB / 0.5327 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.4102, allocations: 157.1 kB / 0.5328 GB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.4103, allocations: 57.56 kB / 0.5329 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.4114, allocations: 1.141 MB / 0.534 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.4114, allocations: 3.938 kB / 0.534 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.4115, allocations: 23.53 kB / 0.534 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.4116, allocations: 39.12 kB / 0.5341 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.4125, allocations: 0.6131 MB / 0.5347 GB, free: 1.918 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.003583/0.416, allocations: 3.22 MB / 0.5378 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.4166, allocations: 342.2 kB / 0.5381 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.4169, allocations: 165.1 kB / 0.5383 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/0.417, allocations: 11.06 kB / 0.5383 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.4171, allocations: 43.97 kB / 0.5384 GB, free: 14.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.4171, allocations: 0 / 0.5384 GB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005314/0.4224, allocations: 1.574 MB / 0.5399 GB, free: 14.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.4225, allocations: 137.8 kB / 0.54 GB, free: 13.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.4231, allocations: 0.5318 MB / 0.5405 GB, free: 13.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.4232, allocations: 33.11 kB / 0.5406 GB, free: 13.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.4235, allocations: 383.6 kB / 0.5409 GB, free: 13.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.4237, allocations: 149.7 kB / 0.5411 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.4239, allocations: 147.6 kB / 0.5412 GB, free: 12.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000235/0.4241, allocations: 375.2 kB / 0.5416 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.4245, allocations: 205.3 kB / 0.5418 GB, free: 12.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/0.4253, allocations: 0.5832 MB / 0.5423 GB, free: 11.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.4264, allocations: 0.7467 MB / 0.5431 GB, free: 11.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4264, allocations: 3 kB / 0.5431 GB, free: 11.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001546/0.4279, allocations: 0.8929 MB / 0.5439 GB, free: 10.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4279, allocations: 9.156 kB / 0.544 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.4279, allocations: 10.56 kB / 0.544 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.4293, allocations: 298.5 kB / 0.5443 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.4297, allocations: 121.3 kB / 0.5444 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.431, allocations: 0.9309 MB / 0.5453 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.4314, allocations: 29.39 kB / 0.5453 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.4315, allocations: 54.72 kB / 0.5454 GB, free: 9.879 MB / 426.7 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.0003979/0.4319, allocations: 245.2 kB / 0.5456 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.4321, allocations: 77.06 kB / 0.5457 GB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.4337, allocations: 0.817 MB / 0.5465 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4337, allocations: 2.875 kB / 0.5465 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4337, allocations: 0 / 0.5465 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4337, allocations: 0 / 0.5465 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.4359, allocations: 1.063 MB / 0.5475 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4359, allocations: 2.188 kB / 0.5475 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.437, allocations: 205 kB / 0.5477 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.4371, allocations: 30.22 kB / 0.5477 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.4371, allocations: 15.94 kB / 0.5477 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.4398, allocations: 2.629 MB / 0.5503 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-06/0.4398, allocations: 7.125 kB / 0.5503 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.4412, allocations: 0.8004 MB / 0.5511 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.4415, allocations: 99.59 kB / 0.5512 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/0.4416, allocations: 12 kB / 0.5512 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.442, allocations: 20.86 kB / 0.5512 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4421, allocations: 35.95 kB / 0.5513 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.4422, allocations: 35.98 kB / 0.5513 GB, free: 4.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000519/0.4427, allocations: 358.8 kB / 0.5516 GB, free: 4.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4427, allocations: 0 / 0.5516 GB, free: 4.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001088/0.4438, allocations: 255.7 kB / 0.5519 GB, free: 4.25 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.0008069/0.4446, allocations: 295.1 kB / 0.5522 GB, free: 3.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.446, allocations: 0.516 MB / 0.5527 GB, free: 3.438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.446, allocations: 4 kB / 0.5527 GB, free: 3.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.4472, allocations: 398.2 kB / 0.553 GB, free: 3.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.4489, allocations: 331.1 kB / 0.5534 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.4514, allocations: 1.244 MB / 0.5546 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007111/0.4521, allocations: 332.3 kB / 0.5549 GB, free: 1.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001018/0.4531, allocations: 430.4 kB / 0.5553 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.4534, allocations: 96.45 kB / 0.5554 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4534, allocations: 4 kB / 0.5554 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of Templates: time 0.02912/0.4826, allocations: 15.39 MB / 0.5704 GB, free: 1.426 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.856232117046602]