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.001387/0.001387, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001519/0.001519, allocations: 171.2 kB / 24.82 MB, free: 8.32 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.3692/0.3692, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 179] 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 1.253e-06/1.253e-06, allocations: 0 / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.984e-05, allocations: 9.828 kB / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3867/0.3867, allocations: 146 MB / 0.5122 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003839/0.3905, allocations: 2.598 MB / 0.5148 GB, free: 15.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006404/0.3912, allocations: 27.62 kB / 0.5148 GB, free: 15.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.3918, allocations: 209 kB / 0.515 GB, free: 14.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.3943, allocations: 1.186 MB / 0.5161 GB, free: 14.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.3959, allocations: 0.8362 MB / 0.517 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.3977, allocations: 1.915 MB / 0.5188 GB, free: 12.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.3982, allocations: 424.3 kB / 0.5192 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.4001, allocations: 1.238 MB / 0.5204 GB, free: 12.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.4009, allocations: 0.594 MB / 0.521 GB, free: 12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.401, allocations: 64.16 kB / 0.5211 GB, free: 11.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008564/0.4018, allocations: 452.7 kB / 0.5215 GB, free: 11.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.402, allocations: 288.3 kB / 0.5218 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.4023, allocations: 282.2 kB / 0.5221 GB, free: 11.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.4035, allocations: 0.9932 MB / 0.523 GB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4035, allocations: 0 / 0.523 GB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4035, allocations: 3.938 kB / 0.523 GB, free: 11.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.4035, allocations: 0 / 0.523 GB, free: 11.24 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.001461/0.405, allocations: 1.122 MB / 0.5241 GB, free: 10.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.405, allocations: 8.438 kB / 0.5241 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.4056, allocations: 221.5 kB / 0.5243 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.4061, allocations: 482.6 kB / 0.5248 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.235e-05/0.4062, allocations: 159.3 kB / 0.525 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.4063, allocations: 59.86 kB / 0.525 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.4069, allocations: 0.9317 MB / 0.5259 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4069, allocations: 3.938 kB / 0.5259 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.4069, allocations: 27.95 kB / 0.526 GB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.407, allocations: 40 kB / 0.526 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.4073, allocations: 255.5 kB / 0.5262 GB, free: 9.027 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.002285/0.4096, allocations: 3.773 MB / 0.5299 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.4098, allocations: 206.8 kB / 0.5301 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.4099, allocations: 68.28 kB / 0.5302 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.41, allocations: 25.05 kB / 0.5302 GB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.41, allocations: 44.8 kB / 0.5303 GB, free: 5.613 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.41, allocations: 0 / 0.5303 GB, free: 5.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.00242/0.4124, allocations: 0.9953 MB / 0.5312 GB, free: 5.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.4125, allocations: 136.6 kB / 0.5314 GB, free: 4.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.4128, allocations: 0.5436 MB / 0.5319 GB, free: 4.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.4129, allocations: 34.62 kB / 0.5319 GB, free: 4.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.413, allocations: 444.2 kB / 0.5323 GB, free: 4.242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.4131, allocations: 154.5 kB / 0.5325 GB, free: 4.121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.4133, allocations: 166.3 kB / 0.5326 GB, free: 4.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.4133, allocations: 0.5536 MB / 0.5332 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4134, allocations: 77.69 kB / 0.5333 GB, free: 3.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.4137, allocations: 0.6289 MB / 0.5339 GB, free: 2.758 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.4141, allocations: 0.6735 MB / 0.5345 GB, free: 2.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4141, allocations: 9.5 kB / 0.5345 GB, free: 2.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000658/0.4148, allocations: 0.6221 MB / 0.5351 GB, free: 1.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4148, allocations: 10.62 kB / 0.5352 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4148, allocations: 11.14 kB / 0.5352 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.4154, allocations: 241.2 kB / 0.5354 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.4156, allocations: 133.5 kB / 0.5355 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004554/0.4161, allocations: 0.9873 MB / 0.5365 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.4163, allocations: 27.77 kB / 0.5365 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.4164, allocations: 56.75 kB / 0.5366 GB, free: 0.8984 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.0001391/0.4165, allocations: 204.8 kB / 0.5368 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.4166, allocations: 79.83 kB / 0.5368 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006838/0.4173, allocations: 0.6668 MB / 0.5375 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4173, allocations: 2.875 kB / 0.5375 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.4173, allocations: 2.375 kB / 0.5375 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4173, allocations: 2.438 kB / 0.5375 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/0.4182, allocations: 0.8336 MB / 0.5383 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4182, allocations: 0 / 0.5383 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.4186, allocations: 178.1 kB / 0.5385 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.931e-05/0.4187, allocations: 25.84 kB / 0.5385 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.4187, allocations: 14.23 kB / 0.5385 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.4201, allocations: 3.517 MB / 0.542 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4201, allocations: 0 / 0.542 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.4206, allocations: 0.571 MB / 0.5425 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.4208, allocations: 97.12 kB / 0.5426 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.4208, allocations: 9.594 kB / 0.5426 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.421, allocations: 12.22 kB / 0.5426 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.4211, allocations: 46.23 kB / 0.5427 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.4211, allocations: 31.48 kB / 0.5427 GB, free: 11.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.4213, allocations: 328 kB / 0.543 GB, free: 11.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4213, allocations: 0 / 0.543 GB, free: 11.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006923/0.422, allocations: 252.8 kB / 0.5433 GB, free: 11.65 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.00042/0.4224, allocations: 270.2 kB / 0.5435 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005066/0.4229, allocations: 357.1 kB / 0.5439 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4229, allocations: 0 / 0.5439 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.4233, allocations: 357.5 kB / 0.5442 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008164/0.4241, allocations: 317.7 kB / 0.5445 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.4258, allocations: 1.158 MB / 0.5456 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.4259, allocations: 166.1 kB / 0.5458 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.4265, allocations: 366.2 kB / 0.5461 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005711/0.4271, allocations: 382.8 kB / 0.5465 GB, free: 10.14 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4271, allocations: 0 / 0.5465 GB, free: 10.14 MB / 426.7 MB Notification: Performance of Templates: time 0.02001/0.4471, allocations: 16.61 MB / 0.5627 GB, free: 11.26 MB / 442.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] 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","",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.178059491794556]