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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001755/0.002921, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002521, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.973/0.973, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1738/1.147, allocations: 52.5 MB / 238.5 MB, free: 7.625 MB / 234.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.1279/0.1279, allocations: 32.79 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02302/0.1509, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.7 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 1.442e-06/1.442e-06, allocations: 0 / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.471e-05, allocations: 2.312 kB / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2917/0.2917, allocations: 145.7 MB / 431.5 MB, free: 6.516 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.2954, allocations: 2.677 MB / 434.2 MB, free: 3.859 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.2957, allocations: 31.69 kB / 434.2 MB, free: 3.828 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.2962, allocations: 218.6 kB / 434.4 MB, free: 3.613 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.2983, allocations: 1.138 MB / 435.6 MB, free: 2.469 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.2998, allocations: 0.8313 MB / 436.4 MB, free: 1.637 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.3017, allocations: 1.937 MB / 438.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.3023, allocations: 414.3 kB / 438.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.3042, allocations: 1.273 MB / 440 MB, free: 14.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008175/0.305, allocations: 0.5609 MB / 440.6 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.3051, allocations: 60 kB / 440.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.3062, allocations: 475.2 kB / 441.1 MB, free: 12.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.3064, allocations: 231.3 kB / 441.3 MB, free: 12.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.3066, allocations: 231.6 kB / 441.5 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.3077, allocations: 0.8685 MB / 442.4 MB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.3077, allocations: 0 / 442.4 MB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3077, allocations: 4 kB / 442.4 MB, free: 11.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.3078, allocations: 0 / 442.4 MB, free: 11.6 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.001741/0.3095, allocations: 1.237 MB / 443.7 MB, free: 10.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3095, allocations: 12.03 kB / 443.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007365/0.3103, allocations: 213.6 kB / 443.9 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.3109, allocations: 419.4 kB / 444.3 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.311, allocations: 156.3 kB / 444.4 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/0.3111, allocations: 55.94 kB / 444.5 MB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.3119, allocations: 0.9145 MB / 445.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3119, allocations: 7.953 kB / 445.4 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.312, allocations: 24 kB / 445.4 MB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/0.312, allocations: 40.92 kB / 445.5 MB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.3124, allocations: 229.4 kB / 445.7 MB, free: 8.059 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.002473/0.3149, allocations: 2.645 MB / 448.3 MB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.3151, allocations: 169.2 kB / 448.5 MB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.571e-05/0.3152, allocations: 67.89 kB / 448.6 MB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.3153, allocations: 44.91 kB / 448.6 MB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3154, allocations: 46.72 kB / 448.7 MB, free: 4.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.3154, allocations: 0 / 448.7 MB, free: 4.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002714/0.3181, allocations: 0.9391 MB / 449.6 MB, free: 3.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.3181, allocations: 55.41 kB / 449.7 MB, free: 3.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.3185, allocations: 486.8 kB / 450.1 MB, free: 3.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.3185, allocations: 29.7 kB / 450.2 MB, free: 3.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.3187, allocations: 353 kB / 450.5 MB, free: 3.047 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/0.3188, allocations: 150.7 kB / 450.7 MB, free: 2.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3189, allocations: 138.5 kB / 450.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.319, allocations: 382.6 kB / 451.2 MB, free: 2.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3191, allocations: 61.97 kB / 451.2 MB, free: 2.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.3195, allocations: 496.9 kB / 451.7 MB, free: 1.652 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.32, allocations: 0.5661 MB / 452.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.32, allocations: 4 kB / 452.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006748/0.3207, allocations: 492.5 kB / 452.8 MB, free: 452 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3207, allocations: 8 kB / 452.8 MB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3207, allocations: 12 kB / 452.8 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/0.3214, allocations: 221.7 kB / 453 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.3217, allocations: 139.8 kB / 453.1 MB, free: 68 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007007/0.3224, allocations: 0.6814 MB / 453.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.3227, allocations: 27.98 kB / 453.8 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.3228, allocations: 48 kB / 453.9 MB, free: 15.29 MB / 426.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.0001685/0.3229, allocations: 164.4 kB / 454.1 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.091e-05/0.323, allocations: 55.97 kB / 454.1 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/0.3238, allocations: 0.5708 MB / 454.7 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3238, allocations: 4 kB / 454.7 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3238, allocations: 4 kB / 454.7 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3238, allocations: 0 / 454.7 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3248, allocations: 0.7356 MB / 455.4 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3248, allocations: 3.938 kB / 455.4 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/0.3255, allocations: 191.8 kB / 455.6 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3256, allocations: 67.61 kB / 455.7 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-05/0.3257, allocations: 24.91 kB / 455.7 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.3257, allocations: 19.98 kB / 455.7 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.3269, allocations: 2.395 MB / 458.1 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3269, allocations: 0 / 458.1 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.3274, allocations: 475.8 kB / 458.6 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.3275, allocations: 12 kB / 458.6 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.3277, allocations: 12 kB / 458.6 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.3278, allocations: 35.88 kB / 458.6 MB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.3278, allocations: 27.98 kB / 458.7 MB, free: 10.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.328, allocations: 204.4 kB / 458.9 MB, free: 10.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.328, allocations: 0 / 458.9 MB, free: 10.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006692/0.3287, allocations: 247.7 kB / 459.1 MB, free: 9.77 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.0005634/0.3292, allocations: 264.2 kB / 459.4 MB, free: 9.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.3298, allocations: 325.5 kB / 459.7 MB, free: 9.203 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.36e-05/0.3298, allocations: 12.5 kB / 459.7 MB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.3303, allocations: 320 kB / 460 MB, free: 8.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.3318, allocations: 1.809 MB / 461.8 MB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.3447, allocations: 1.149 MB / 463 MB, free: 5.547 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.3448, allocations: 170.5 kB / 463.1 MB, free: 5.359 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006447/0.3454, allocations: 317.8 kB / 463.4 MB, free: 5.047 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003661/0.3491, allocations: 317 kB / 463.8 MB, free: 4.734 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3491, allocations: 0 / 463.8 MB, free: 4.734 MB / 426.7 MB Notification: Performance of Templates: time 0.0275/0.3766, allocations: 16.33 MB / 480.1 MB, free: 4.668 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3876701006665826]