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.001379/0.001379, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001028/0.001028, allocations: 164.5 kB / 24.82 MB, free: 9.281 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 0.9871/0.9871, allocations: 177 MB / 205.1 MB, free: 5.473 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.2529/0.2529, allocations: 34.87 MB / 296.6 MB, free: 452 kB / 266.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.743e-06/1.743e-06, allocations: 0 / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.426e-05, allocations: 2.312 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2881/0.2881, allocations: 146 MB / 0.5129 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.2918, allocations: 2.597 MB / 0.5155 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005449/0.2923, allocations: 26.34 kB / 0.5155 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.2929, allocations: 211.9 kB / 0.5157 GB, free: 14.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.2951, allocations: 1.185 MB / 0.5169 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.2965, allocations: 0.8385 MB / 0.5177 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.2982, allocations: 1.916 MB / 0.5195 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006486/0.2989, allocations: 424.5 kB / 0.52 GB, free: 12.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.3008, allocations: 1.237 MB / 0.5212 GB, free: 11.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008055/0.3016, allocations: 0.6001 MB / 0.5217 GB, free: 11.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.3017, allocations: 60.66 kB / 0.5218 GB, free: 11.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007759/0.3025, allocations: 447.3 kB / 0.5222 GB, free: 11.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.3026, allocations: 286.9 kB / 0.5225 GB, free: 11.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.3029, allocations: 283.4 kB / 0.5228 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009846/0.3039, allocations: 0.9939 MB / 0.5237 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3039, allocations: 3.281 kB / 0.5237 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3039, allocations: 0 / 0.5237 GB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3039, allocations: 2.438 kB / 0.5237 GB, free: 10.57 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.001281/0.3052, allocations: 1.126 MB / 0.5248 GB, free: 9.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3052, allocations: 8.438 kB / 0.5249 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.3058, allocations: 216 kB / 0.5251 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.3064, allocations: 484.8 kB / 0.5255 GB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.3064, allocations: 154.6 kB / 0.5257 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.3065, allocations: 60.36 kB / 0.5257 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.3071, allocations: 0.9341 MB / 0.5266 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3071, allocations: 7.125 kB / 0.5266 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.3072, allocations: 27.34 kB / 0.5267 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.3072, allocations: 39.98 kB / 0.5267 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.3076, allocations: 255.6 kB / 0.527 GB, free: 8.359 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.002174/0.3098, allocations: 3.772 MB / 0.5306 GB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.31, allocations: 196.2 kB / 0.5308 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.803e-05/0.3101, allocations: 75.33 kB / 0.5309 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.3102, allocations: 26.28 kB / 0.5309 GB, free: 4.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.3102, allocations: 51.42 kB / 0.531 GB, free: 4.941 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.343e-06/0.3102, allocations: 0 / 0.531 GB, free: 4.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002615/0.3128, allocations: 0.9882 MB / 0.5319 GB, free: 4.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.3128, allocations: 138.4 kB / 0.5321 GB, free: 4.293 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.3132, allocations: 0.5452 MB / 0.5326 GB, free: 3.984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.3132, allocations: 32.27 kB / 0.5326 GB, free: 3.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3134, allocations: 447.7 kB / 0.5331 GB, free: 3.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.3135, allocations: 153.9 kB / 0.5332 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.3136, allocations: 166.8 kB / 0.5334 GB, free: 3.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.3137, allocations: 0.5541 MB / 0.5339 GB, free: 2.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3138, allocations: 70.61 kB / 0.534 GB, free: 2.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3141, allocations: 0.6316 MB / 0.5346 GB, free: 2.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.3145, allocations: 0.6742 MB / 0.5352 GB, free: 1.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3145, allocations: 6.906 kB / 0.5353 GB, free: 1.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007564/0.3153, allocations: 0.6192 MB / 0.5359 GB, free: 1.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3153, allocations: 11.06 kB / 0.5359 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3153, allocations: 11.41 kB / 0.5359 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/0.316, allocations: 244.8 kB / 0.5361 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.3163, allocations: 131.7 kB / 0.5362 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000489/0.3168, allocations: 0.9891 MB / 0.5372 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.3171, allocations: 28.47 kB / 0.5372 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.3171, allocations: 53.28 kB / 0.5373 GB, free: 244 kB / 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.0001458/0.3173, allocations: 211 kB / 0.5375 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.556e-05/0.3174, allocations: 76.02 kB / 0.5376 GB, free: 0 / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009095/0.3183, allocations: 0.6676 MB / 0.5382 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3183, allocations: 5.406 kB / 0.5382 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3183, allocations: 0 / 0.5382 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3183, allocations: 3.938 kB / 0.5382 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.3194, allocations: 0.8331 MB / 0.539 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3194, allocations: 0 / 0.539 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/0.3199, allocations: 173.8 kB / 0.5392 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.002e-05/0.32, allocations: 23.38 kB / 0.5392 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.32, allocations: 19.12 kB / 0.5392 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.3216, allocations: 3.517 MB / 0.5427 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3216, allocations: 6.875 kB / 0.5427 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.3222, allocations: 0.5648 MB / 0.5432 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.3223, allocations: 97.19 kB / 0.5433 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.3224, allocations: 9.688 kB / 0.5433 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.3226, allocations: 14.88 kB / 0.5433 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.3227, allocations: 42.17 kB / 0.5434 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.3227, allocations: 33.14 kB / 0.5434 GB, free: 11.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.323, allocations: 323.6 kB / 0.5437 GB, free: 11.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.323, allocations: 4.031 kB / 0.5437 GB, free: 11.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007743/0.3237, allocations: 259 kB / 0.544 GB, free: 10.98 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.000459/0.3242, allocations: 257.4 kB / 0.5442 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005661/0.3248, allocations: 355.9 kB / 0.5446 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3248, allocations: 5.719 kB / 0.5446 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005049/0.3253, allocations: 359.4 kB / 0.5449 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000977/0.3263, allocations: 314.8 kB / 0.5452 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3281, allocations: 1.153 MB / 0.5463 GB, free: 9.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.3282, allocations: 165.8 kB / 0.5465 GB, free: 9.676 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006314/0.3289, allocations: 366 kB / 0.5468 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.3295, allocations: 386.8 kB / 0.5472 GB, free: 9.484 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3295, allocations: 0 / 0.5472 GB, free: 9.484 MB / 426.7 MB Notification: Performance of Templates: time 0.02217/0.3517, allocations: 16.61 MB / 0.5634 GB, free: 10.4 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 -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: 3.7782411435618997]