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.0013/0.0013, allocations: 88.25 kB / 22.22 MB, free: 2.277 MB / 18.57 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.001076/0.001076, allocations: 169.2 kB / 25.61 MB, free: 8.574 MB / 18.57 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/1, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.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.1496/0.1496, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.353e-06/1.353e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.457e-05, allocations: 3.859 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2818/0.2818, allocations: 146 MB / 0.5137 GB, free: 16.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.2853, allocations: 2.598 MB / 0.5162 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.2859, allocations: 27.62 kB / 0.5163 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.2864, allocations: 217.7 kB / 0.5165 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.2885, allocations: 1.174 MB / 0.5176 GB, free: 16.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.2899, allocations: 0.8315 MB / 0.5184 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.2921, allocations: 1.924 MB / 0.5203 GB, free: 16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006672/0.2927, allocations: 422.4 kB / 0.5207 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.2946, allocations: 1.25 MB / 0.5219 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000664/0.2953, allocations: 0.5889 MB / 0.5225 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.284e-05/0.2954, allocations: 58.47 kB / 0.5226 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.2961, allocations: 459.2 kB / 0.523 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.2964, allocations: 285 kB / 0.5233 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.2967, allocations: 283.4 kB / 0.5235 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.2977, allocations: 0.994 MB / 0.5245 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2977, allocations: 0 / 0.5245 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2977, allocations: 0 / 0.5245 GB, free: 15.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.2977, allocations: 0 / 0.5245 GB, free: 15.61 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.001313/0.299, allocations: 1.127 MB / 0.5256 GB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.299, allocations: 9.062 kB / 0.5256 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005437/0.2996, allocations: 213 kB / 0.5258 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.3001, allocations: 489.1 kB / 0.5263 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.3001, allocations: 153.7 kB / 0.5264 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.3002, allocations: 57.61 kB / 0.5265 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.3008, allocations: 0.9396 MB / 0.5274 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3008, allocations: 2.344 kB / 0.5274 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.3008, allocations: 25.05 kB / 0.5274 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/0.3009, allocations: 37.16 kB / 0.5275 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.3012, allocations: 260.3 kB / 0.5277 GB, free: 13.81 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.001831/0.303, allocations: 3.77 MB / 0.5314 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.3032, allocations: 196.6 kB / 0.5316 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.3033, allocations: 77.78 kB / 0.5317 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.316e-05/0.3034, allocations: 13.25 kB / 0.5317 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3034, allocations: 47.52 kB / 0.5317 GB, free: 10.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.3034, allocations: 1.969 kB / 0.5317 GB, free: 10.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002187/0.3056, allocations: 0.9936 MB / 0.5327 GB, free: 10.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.3056, allocations: 139.2 kB / 0.5328 GB, free: 10.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.3059, allocations: 0.5457 MB / 0.5333 GB, free: 10.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3059, allocations: 32.58 kB / 0.5334 GB, free: 10.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.306, allocations: 447.5 kB / 0.5338 GB, free: 9.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.3061, allocations: 156.3 kB / 0.534 GB, free: 9.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.3062, allocations: 165 kB / 0.5341 GB, free: 9.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.3063, allocations: 0.5465 MB / 0.5346 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.846e-05/0.3064, allocations: 76.23 kB / 0.5347 GB, free: 9.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.3066, allocations: 0.6273 MB / 0.5353 GB, free: 8.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.307, allocations: 0.6779 MB / 0.536 GB, free: 7.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.307, allocations: 6.875 kB / 0.536 GB, free: 7.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006108/0.3076, allocations: 0.6242 MB / 0.5366 GB, free: 7.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3076, allocations: 11.28 kB / 0.5366 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3077, allocations: 16.77 kB / 0.5366 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/0.3083, allocations: 235.4 kB / 0.5369 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.3085, allocations: 125.8 kB / 0.537 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004232/0.3089, allocations: 0.9845 MB / 0.5379 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.3091, allocations: 32.86 kB / 0.538 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.3092, allocations: 54.72 kB / 0.538 GB, free: 6.922 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.0001413/0.3093, allocations: 213.4 kB / 0.5382 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.3094, allocations: 78.73 kB / 0.5383 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/0.3101, allocations: 0.6648 MB / 0.539 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3101, allocations: 3 kB / 0.539 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3101, allocations: 2.812 kB / 0.539 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3101, allocations: 6.797 kB / 0.539 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/0.3109, allocations: 0.8286 MB / 0.5398 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3109, allocations: 0 / 0.5398 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.3114, allocations: 172.6 kB / 0.5399 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.881e-05/0.3114, allocations: 23.89 kB / 0.54 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.3115, allocations: 17.02 kB / 0.54 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008133/0.3123, allocations: 3.513 MB / 0.5434 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3123, allocations: 2.5 kB / 0.5434 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.3128, allocations: 0.5715 MB / 0.544 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3129, allocations: 101.3 kB / 0.5441 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.3129, allocations: 6.156 kB / 0.5441 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.3131, allocations: 17 kB / 0.5441 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.3132, allocations: 38.44 kB / 0.5441 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.3132, allocations: 32.66 kB / 0.5442 GB, free: 2.344 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.3134, allocations: 327.6 kB / 0.5445 GB, free: 2.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3134, allocations: 2.156 kB / 0.5445 GB, free: 2.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005632/0.3139, allocations: 256 kB / 0.5447 GB, free: 2.195 MB / 410.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.0003913/0.3143, allocations: 259.1 kB / 0.545 GB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004641/0.3148, allocations: 354 kB / 0.5453 GB, free: 2.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3148, allocations: 0.5625 kB / 0.5453 GB, free: 2.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.3152, allocations: 367.4 kB / 0.5456 GB, free: 1.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007879/0.316, allocations: 315.3 kB / 0.546 GB, free: 1.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3174, allocations: 1.163 MB / 0.5471 GB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.3175, allocations: 163.4 kB / 0.5472 GB, free: 1.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004785/0.3179, allocations: 368.7 kB / 0.5476 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/0.3184, allocations: 376.1 kB / 0.548 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3184, allocations: 0 / 0.548 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of Templates: time 0.01964/0.3381, allocations: 16.82 MB / 0.5644 GB, free: 5.398 MB / 426.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1544935358688235]