Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007863/0.0007863, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001204/0.001991, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000752/0.000752, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001772, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.005/1.005, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09623/1.102, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2757/0.2757, allocations: 34.89 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02937/0.3051, allocations: 13.24 MB / 292.8 MB, free: 6.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.662e-05, allocations: 2.312 kB / 294.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3624/0.3624, allocations: 148.6 MB / 442.7 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004339/0.3667, allocations: 2.675 MB / 445.4 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.3672, allocations: 28.16 kB / 445.4 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.3676, allocations: 213.9 kB / 445.6 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.3698, allocations: 1.149 MB / 446.7 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.3713, allocations: 0.8183 MB / 447.6 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.3732, allocations: 1.937 MB / 449.5 MB, free: 3.484 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005835/0.3738, allocations: 425.7 kB / 449.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.3757, allocations: 1.277 MB / 451.2 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007851/0.3764, allocations: 0.5641 MB / 451.8 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3766, allocations: 59.28 kB / 451.8 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008524/0.3774, allocations: 483.8 kB / 452.3 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.3776, allocations: 236.6 kB / 452.5 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.3779, allocations: 228.9 kB / 452.7 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009426/0.3788, allocations: 0.87 MB / 453.6 MB, free: 3.312 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/0.3788, allocations: 2.781 kB / 453.6 MB, free: 3.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3788, allocations: 0.9062 kB / 453.6 MB, free: 3.312 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.3788, allocations: 0 / 453.6 MB, free: 3.312 MB / 426.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.002004/0.3808, allocations: 1.245 MB / 454.9 MB, free: 18.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3809, allocations: 13.2 kB / 454.9 MB, free: 18.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000729/0.3816, allocations: 202.5 kB / 455.1 MB, free: 18.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/0.3822, allocations: 416 kB / 455.5 MB, free: 18.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.3823, allocations: 155.5 kB / 455.6 MB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.3824, allocations: 61.22 kB / 455.7 MB, free: 18.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007488/0.3831, allocations: 0.8883 MB / 456.6 MB, free: 17.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.3832, allocations: 0 / 456.6 MB, free: 17.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.3832, allocations: 24.12 kB / 456.6 MB, free: 17.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.3833, allocations: 42.59 kB / 456.6 MB, free: 17.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.3836, allocations: 235.3 kB / 456.9 MB, free: 17.69 MB / 442.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.002436/0.3861, allocations: 2.655 MB / 459.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3863, allocations: 170.4 kB / 459.7 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.3864, allocations: 63.41 kB / 459.8 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.3865, allocations: 35 kB / 459.8 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3866, allocations: 43.59 kB / 459.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.3866, allocations: 0.875 kB / 459.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.00264/0.3892, allocations: 0.9527 MB / 460.8 MB, free: 15.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3893, allocations: 57.06 kB / 460.8 MB, free: 15.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.3896, allocations: 481.7 kB / 461.3 MB, free: 15.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.3896, allocations: 32.58 kB / 461.3 MB, free: 15.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3898, allocations: 343.9 kB / 461.7 MB, free: 14.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.3898, allocations: 147.3 kB / 461.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.39, allocations: 145.8 kB / 462 MB, free: 14.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3901, allocations: 374.5 kB / 462.3 MB, free: 14.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3902, allocations: 70.53 kB / 462.4 MB, free: 14.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.3905, allocations: 492.6 kB / 462.9 MB, free: 13.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.391, allocations: 0.565 MB / 463.5 MB, free: 13.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.391, allocations: 3.906 kB / 463.5 MB, free: 13.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006585/0.3917, allocations: 495.2 kB / 463.9 MB, free: 13.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3917, allocations: 12.84 kB / 464 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3917, allocations: 8.312 kB / 464 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.3924, allocations: 211.4 kB / 464.2 MB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.3927, allocations: 148.9 kB / 464.3 MB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005108/0.3932, allocations: 0.6726 MB / 465 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.3935, allocations: 26.16 kB / 465 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.3936, allocations: 51.56 kB / 465.1 MB, free: 13 MB / 442.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.000182/0.3937, allocations: 170 kB / 465.2 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/0.3938, allocations: 50.64 kB / 465.3 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007602/0.3946, allocations: 0.5726 MB / 465.8 MB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3946, allocations: 6.375 kB / 465.9 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3946, allocations: 0.9688 kB / 465.9 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3946, allocations: 6.047 kB / 465.9 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3956, allocations: 0.7266 MB / 466.6 MB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3956, allocations: 3.562 kB / 466.6 MB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.3963, allocations: 194.9 kB / 466.8 MB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3964, allocations: 70.61 kB / 466.9 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.542e-05/0.3965, allocations: 17.88 kB / 466.9 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.3965, allocations: 17.2 kB / 466.9 MB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.3978, allocations: 2.411 MB / 469.3 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3978, allocations: 7 kB / 469.3 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.3983, allocations: 468.1 kB / 469.8 MB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.3984, allocations: 7.531 kB / 469.8 MB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.3986, allocations: 18.72 kB / 469.8 MB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.3987, allocations: 36.66 kB / 469.8 MB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.3987, allocations: 24.62 kB / 469.8 MB, free: 9.809 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.3989, allocations: 203.6 kB / 470 MB, free: 9.789 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3989, allocations: 0 / 470 MB, free: 9.789 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007597/0.3997, allocations: 245.4 kB / 470.3 MB, free: 9.777 MB / 442.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.0004679/0.4001, allocations: 237.3 kB / 470.5 MB, free: 9.691 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.4007, allocations: 332.3 kB / 470.8 MB, free: 9.652 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.59e-05/0.4007, allocations: 13.06 kB / 470.9 MB, free: 9.652 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005341/0.4013, allocations: 331.1 kB / 471.2 MB, free: 9.516 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.4028, allocations: 1.828 MB / 473 MB, free: 7.789 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009953/0.4127, allocations: 1.144 MB / 474.1 MB, free: 7.219 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.4129, allocations: 166.9 kB / 474.3 MB, free: 7.145 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007663/0.4136, allocations: 318.7 kB / 474.6 MB, free: 7.109 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.4143, allocations: 317.3 kB / 474.9 MB, free: 7.051 MB / 442.7 MB Notification: Performance of SimCode: time 1.904e-06/0.4143, allocations: 1.125 kB / 474.9 MB, free: 7.051 MB / 442.7 MB Notification: Performance of Templates: time 0.0242/0.4385, allocations: 16.47 MB / 491.4 MB, free: 4.414 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6279594358056784]