Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001985/0.001985, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002466/0.002466, allocations: 169.3 kB / 24.27 MB, free: 144 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.504/1.504, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3472/0.3472, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.974e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.352/0.3521, allocations: 153.8 MB / 0.5186 GB, free: 9.816 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005741/0.3578, allocations: 4.905 MB / 0.5234 GB, free: 6.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005385/0.3584, allocations: 26.84 kB / 0.5234 GB, free: 6.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008093/0.3592, allocations: 319.6 kB / 0.5238 GB, free: 6.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.362, allocations: 1.391 MB / 0.5251 GB, free: 5.555 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.3644, allocations: 1.083 MB / 0.5262 GB, free: 5.012 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.3674, allocations: 1.884 MB / 0.528 GB, free: 4.148 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007557/0.3682, allocations: 414.1 kB / 0.5284 GB, free: 3.898 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.3708, allocations: 1.352 MB / 0.5297 GB, free: 3.316 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.3719, allocations: 0.7282 MB / 0.5304 GB, free: 3.078 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.372, allocations: 61.22 kB / 0.5305 GB, free: 3.078 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.3731, allocations: 0.5485 MB / 0.531 GB, free: 2.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.3733, allocations: 295 kB / 0.5313 GB, free: 2.789 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.3736, allocations: 284.3 kB / 0.5316 GB, free: 2.684 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.3752, allocations: 1.393 MB / 0.5329 GB, free: 2.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3752, allocations: 0 / 0.5329 GB, free: 2.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3752, allocations: 3.938 kB / 0.5329 GB, free: 2.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3752, allocations: 0 / 0.5329 GB, free: 2.203 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.002132/0.3774, allocations: 1.037 MB / 0.534 GB, free: 1.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.3774, allocations: 10.69 kB / 0.534 GB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.3785, allocations: 218.5 kB / 0.5342 GB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.3793, allocations: 0.4931 MB / 0.5347 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.3794, allocations: 156.1 kB / 0.5348 GB, free: 1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3796, allocations: 57.48 kB / 0.5349 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3807, allocations: 1.14 MB / 0.536 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3807, allocations: 0 / 0.536 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.3808, allocations: 24.16 kB / 0.536 GB, free: 36 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.3808, allocations: 42.28 kB / 0.536 GB, free: 24 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.3819, allocations: 0.6161 MB / 0.5366 GB, free: 15.72 MB / 426.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.004665/0.3865, allocations: 3.223 MB / 0.5398 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.3871, allocations: 338.4 kB / 0.5401 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.3874, allocations: 158.8 kB / 0.5403 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.925e-05/0.3875, allocations: 17.61 kB / 0.5403 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.3876, allocations: 40.03 kB / 0.5403 GB, free: 12.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.3876, allocations: 0 / 0.5403 GB, free: 12.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005726/0.3933, allocations: 1.583 MB / 0.5419 GB, free: 11.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.3934, allocations: 134.3 kB / 0.542 GB, free: 11.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006744/0.3941, allocations: 0.5363 MB / 0.5425 GB, free: 11.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.3941, allocations: 36.45 kB / 0.5425 GB, free: 11.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.3945, allocations: 383.4 kB / 0.5429 GB, free: 10.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.3947, allocations: 145.2 kB / 0.5431 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.3949, allocations: 147.6 kB / 0.5432 GB, free: 10.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004835/0.3954, allocations: 375 kB / 0.5436 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.3958, allocations: 198 kB / 0.5437 GB, free: 10.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007666/0.3965, allocations: 0.5906 MB / 0.5443 GB, free: 9.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.3976, allocations: 0.7451 MB / 0.545 GB, free: 9.004 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3976, allocations: 2.938 kB / 0.545 GB, free: 9.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001551/0.3992, allocations: 0.8861 MB / 0.5459 GB, free: 8.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3992, allocations: 12.17 kB / 0.5459 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.3992, allocations: 14.45 kB / 0.5459 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.4006, allocations: 292.4 kB / 0.5462 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.401, allocations: 128.9 kB / 0.5463 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.4022, allocations: 0.9211 MB / 0.5472 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.4027, allocations: 28.22 kB / 0.5473 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.4028, allocations: 62.58 kB / 0.5473 GB, free: 7.648 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.0003993/0.4032, allocations: 248.2 kB / 0.5476 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.4034, allocations: 76.89 kB / 0.5476 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.4049, allocations: 0.8148 MB / 0.5484 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.405, allocations: 5.844 kB / 0.5484 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.405, allocations: 0 / 0.5484 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.405, allocations: 0 / 0.5484 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.4071, allocations: 1.068 MB / 0.5495 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4071, allocations: 0 / 0.5495 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.4082, allocations: 203.8 kB / 0.5497 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.4083, allocations: 24.72 kB / 0.5497 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.4084, allocations: 24 kB / 0.5497 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/0.4113, allocations: 2.624 MB / 0.5523 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4114, allocations: 4.031 kB / 0.5523 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.4129, allocations: 0.7946 MB / 0.5531 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.4132, allocations: 107.5 kB / 0.5532 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.4133, allocations: 12 kB / 0.5532 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.4137, allocations: 15.94 kB / 0.5532 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4138, allocations: 39.88 kB / 0.5532 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/0.4139, allocations: 35.98 kB / 0.5533 GB, free: 1.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005407/0.4144, allocations: 362.8 kB / 0.5536 GB, free: 1.496 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4144, allocations: 128 / 0.5536 GB, free: 1.496 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001048/0.4154, allocations: 255.7 kB / 0.5539 GB, free: 1.246 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.0007455/0.4162, allocations: 299.5 kB / 0.5541 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.4174, allocations: 0.5121 MB / 0.5546 GB, free: 448 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4174, allocations: 0 / 0.5546 GB, free: 448 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.4186, allocations: 398.3 kB / 0.555 GB, free: 36 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.4201, allocations: 331.5 kB / 0.5553 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.4225, allocations: 1.238 MB / 0.5565 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.4229, allocations: 328.3 kB / 0.5569 GB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001048/0.424, allocations: 438.3 kB / 0.5573 GB, free: 13.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.4243, allocations: 96.47 kB / 0.5574 GB, free: 13.57 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4243, allocations: 0 / 0.5574 GB, free: 13.57 MB / 442.7 MB Notification: Performance of Templates: time 0.02976/0.4541, allocations: 15.39 MB / 0.5724 GB, free: 14.44 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.789465757086873]