Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001026/0.001026, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001112/0.001112, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9745/0.9745, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1739/0.1739, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.178e-05/4.388e-05, allocations: 8.219 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3509/0.351, allocations: 173.2 MB / 0.5087 GB, free: 6.734 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006333/0.3573, allocations: 5.817 MB / 0.5143 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005389/0.3579, allocations: 31.69 kB / 0.5144 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000797/0.3587, allocations: 305.9 kB / 0.5147 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.3619, allocations: 1.632 MB / 0.5163 GB, free: 14.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.3644, allocations: 1.262 MB / 0.5175 GB, free: 13.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.3662, allocations: 1.89 MB / 0.5193 GB, free: 11.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005144/0.3667, allocations: 422.3 kB / 0.5197 GB, free: 11.35 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.3688, allocations: 1.487 MB / 0.5212 GB, free: 9.855 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.37, allocations: 0.7359 MB / 0.5219 GB, free: 9.117 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3701, allocations: 64 kB / 0.522 GB, free: 9.055 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.3716, allocations: 0.7486 MB / 0.5227 GB, free: 8.305 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.3719, allocations: 279.2 kB / 0.523 GB, free: 8.031 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.3723, allocations: 295.3 kB / 0.5232 GB, free: 7.742 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.3744, allocations: 1.246 MB / 0.5245 GB, free: 6.492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3744, allocations: 0 / 0.5245 GB, free: 6.492 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3744, allocations: 0 / 0.5245 GB, free: 6.492 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3744, allocations: 0 / 0.5245 GB, free: 6.492 MB / 394.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.001891/0.3763, allocations: 1.176 MB / 0.5256 GB, free: 5.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3763, allocations: 12.03 kB / 0.5256 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.3772, allocations: 219 kB / 0.5258 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.3779, allocations: 496.2 kB / 0.5263 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.3781, allocations: 155.8 kB / 0.5265 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.3782, allocations: 67.86 kB / 0.5265 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3792, allocations: 1.027 MB / 0.5275 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3792, allocations: 0 / 0.5275 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.3793, allocations: 27.98 kB / 0.5275 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.3793, allocations: 40.92 kB / 0.5276 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.3799, allocations: 309.5 kB / 0.5279 GB, free: 2.699 MB / 394.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.003335/0.3833, allocations: 3.891 MB / 0.5317 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.3837, allocations: 219.3 kB / 0.5319 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.3838, allocations: 84.2 kB / 0.532 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.3841, allocations: 130.1 kB / 0.5321 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3841, allocations: 44.73 kB / 0.5321 GB, free: 14.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.913e-06/0.3841, allocations: 4 kB / 0.5321 GB, free: 14.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.003433/0.3876, allocations: 1.166 MB / 0.5333 GB, free: 12.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.3876, allocations: 136.5 kB / 0.5334 GB, free: 12.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.3881, allocations: 0.5413 MB / 0.5339 GB, free: 12.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.3882, allocations: 37.64 kB / 0.534 GB, free: 12.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.3884, allocations: 442.9 kB / 0.5344 GB, free: 11.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3885, allocations: 150.8 kB / 0.5345 GB, free: 11.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.3887, allocations: 156.2 kB / 0.5347 GB, free: 11.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3889, allocations: 0.5469 MB / 0.5352 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.3891, allocations: 89.94 kB / 0.5353 GB, free: 10.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.3895, allocations: 0.6152 MB / 0.5359 GB, free: 9.953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006581/0.3902, allocations: 0.6659 MB / 0.5366 GB, free: 9.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3902, allocations: 4 kB / 0.5366 GB, free: 9.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001002/0.3912, allocations: 0.6448 MB / 0.5372 GB, free: 8.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.3913, allocations: 8 kB / 0.5372 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3913, allocations: 12 kB / 0.5372 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008512/0.3922, allocations: 247.7 kB / 0.5374 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.3925, allocations: 123.8 kB / 0.5376 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007442/0.3932, allocations: 1.003 MB / 0.5385 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3935, allocations: 27.98 kB / 0.5386 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.3936, allocations: 63.98 kB / 0.5386 GB, free: 6.93 MB / 410.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.0001919/0.3938, allocations: 209.7 kB / 0.5388 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.3939, allocations: 71.62 kB / 0.5389 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008647/0.3948, allocations: 0.4912 MB / 0.5394 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3948, allocations: 7.984 kB / 0.5394 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3948, allocations: 3.984 kB / 0.5394 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3948, allocations: 0 / 0.5394 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.3962, allocations: 1.029 MB / 0.5404 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.3962, allocations: 4 kB / 0.5404 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.3969, allocations: 191.8 kB / 0.5406 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.349e-05/0.397, allocations: 27.8 kB / 0.5406 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.397, allocations: 16 kB / 0.5406 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.3988, allocations: 3.555 MB / 0.5441 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3988, allocations: 0 / 0.5441 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/0.3996, allocations: 0.5893 MB / 0.5447 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.3998, allocations: 95.58 kB / 0.5448 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/0.3999, allocations: 8.688 kB / 0.5448 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.4001, allocations: 24.05 kB / 0.5448 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.4002, allocations: 47.81 kB / 0.5448 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.4003, allocations: 35.98 kB / 0.5449 GB, free: 168 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000305/0.4006, allocations: 338.8 kB / 0.5452 GB, free: 15.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4006, allocations: 0 / 0.5452 GB, free: 15.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008513/0.4014, allocations: 291.7 kB / 0.5455 GB, free: 15.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0008022/0.4022, allocations: 404.8 kB / 0.5459 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007221/0.4029, allocations: 378.6 kB / 0.5462 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.403, allocations: 0 / 0.5462 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.4036, allocations: 389.1 kB / 0.5466 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.4046, allocations: 320.1 kB / 0.5469 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.4066, allocations: 1.127 MB / 0.548 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.4068, allocations: 166.4 kB / 0.5482 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005538/0.4073, allocations: 226.8 kB / 0.5484 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.4075, allocations: 88.47 kB / 0.5485 GB, free: 12.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4075, allocations: 0 / 0.5485 GB, free: 12.41 MB / 426.7 MB Notification: Performance of Templates: time 0.02243/0.4299, allocations: 16.42 MB / 0.5645 GB, free: 12.09 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.9711897268425673]