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.001924/0.001924, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.00222/0.00222, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.57/1.57, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3515/0.3515, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.784e-06/1.784e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.203e-05, allocations: 2.312 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3486/0.3487, allocations: 153.8 MB / 0.5186 GB, free: 9.805 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006595/0.3553, allocations: 4.913 MB / 0.5233 GB, free: 6.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006726/0.3559, allocations: 29.16 kB / 0.5234 GB, free: 6.469 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.3568, allocations: 315.1 kB / 0.5237 GB, free: 6.297 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.36, allocations: 1.391 MB / 0.525 GB, free: 5.539 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.3626, allocations: 1.081 MB / 0.5261 GB, free: 5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.3646, allocations: 1.896 MB / 0.5279 GB, free: 4.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.3652, allocations: 415.9 kB / 0.5283 GB, free: 3.871 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.3671, allocations: 1.347 MB / 0.5297 GB, free: 3.297 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.3681, allocations: 0.728 MB / 0.5304 GB, free: 3.059 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3682, allocations: 58.75 kB / 0.5304 GB, free: 3.059 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.3694, allocations: 0.5515 MB / 0.531 GB, free: 2.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.3697, allocations: 291.6 kB / 0.5312 GB, free: 2.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.37, allocations: 283.8 kB / 0.5315 GB, free: 2.664 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.3713, allocations: 1.388 MB / 0.5329 GB, free: 2.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3714, allocations: 6.484 kB / 0.5329 GB, free: 2.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3714, allocations: 0 / 0.5329 GB, free: 2.188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3714, allocations: 0 / 0.5329 GB, free: 2.188 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.001905/0.3733, allocations: 1.037 MB / 0.5339 GB, free: 1.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3733, allocations: 10 kB / 0.5339 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009009/0.3742, allocations: 223.2 kB / 0.5341 GB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.3749, allocations: 0.4885 MB / 0.5346 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/0.375, allocations: 160.8 kB / 0.5347 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3751, allocations: 53.66 kB / 0.5348 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.3762, allocations: 1.141 MB / 0.5359 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.3763, allocations: 7.875 kB / 0.5359 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/0.3763, allocations: 27.38 kB / 0.5359 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/0.3764, allocations: 38.42 kB / 0.536 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3775, allocations: 0.6124 MB / 0.5366 GB, free: 15.62 MB / 426.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.004769/0.3822, allocations: 3.224 MB / 0.5397 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.3829, allocations: 333.7 kB / 0.54 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.3831, allocations: 165.7 kB / 0.5402 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.201e-05/0.3832, allocations: 22.8 kB / 0.5402 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.3833, allocations: 39.84 kB / 0.5403 GB, free: 12.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.3833, allocations: 0 / 0.5403 GB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005511/0.3888, allocations: 1.575 MB / 0.5418 GB, free: 11.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.3889, allocations: 133.6 kB / 0.5419 GB, free: 11.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/0.3895, allocations: 0.5322 MB / 0.5424 GB, free: 11.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.3896, allocations: 36.8 kB / 0.5425 GB, free: 11.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.3899, allocations: 384 kB / 0.5428 GB, free: 10.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.3901, allocations: 153 kB / 0.543 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.3903, allocations: 147.4 kB / 0.5431 GB, free: 10.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.3906, allocations: 375 kB / 0.5435 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.3909, allocations: 197.8 kB / 0.5437 GB, free: 10.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000965/0.3919, allocations: 0.587 MB / 0.5442 GB, free: 9.527 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.393, allocations: 0.7454 MB / 0.545 GB, free: 8.898 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.393, allocations: 2.781 kB / 0.545 GB, free: 8.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00155/0.3946, allocations: 0.8864 MB / 0.5458 GB, free: 8.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3946, allocations: 7.938 kB / 0.5459 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3946, allocations: 10.28 kB / 0.5459 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.396, allocations: 302.2 kB / 0.5461 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.3964, allocations: 123.8 kB / 0.5463 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.3976, allocations: 0.924 MB / 0.5472 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.3981, allocations: 25.38 kB / 0.5472 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.3982, allocations: 65.08 kB / 0.5473 GB, free: 7.547 MB / 426.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.000381/0.3986, allocations: 238.5 kB / 0.5475 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.3987, allocations: 77.53 kB / 0.5476 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.4003, allocations: 0.8174 MB / 0.5484 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4003, allocations: 2.531 kB / 0.5484 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4003, allocations: 0 / 0.5484 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.4003, allocations: 10.62 kB / 0.5484 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.4024, allocations: 1.057 MB / 0.5494 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.4024, allocations: 8.031 kB / 0.5494 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.4035, allocations: 199.8 kB / 0.5496 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/0.4036, allocations: 28.78 kB / 0.5496 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.4037, allocations: 23.98 kB / 0.5496 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.4064, allocations: 2.626 MB / 0.5522 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4064, allocations: 0 / 0.5522 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.4081, allocations: 0.8106 MB / 0.553 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.4083, allocations: 95.58 kB / 0.5531 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.4084, allocations: 15.98 kB / 0.5531 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.4088, allocations: 15.94 kB / 0.5531 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.4089, allocations: 39.94 kB / 0.5532 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.409, allocations: 35.98 kB / 0.5532 GB, free: 1.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005453/0.4096, allocations: 358.8 kB / 0.5535 GB, free: 1.332 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4096, allocations: 0 / 0.5535 GB, free: 1.332 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001039/0.4106, allocations: 255.7 kB / 0.5538 GB, free: 1.082 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.000732/0.4113, allocations: 286.8 kB / 0.5541 GB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.4126, allocations: 0.5155 MB / 0.5546 GB, free: 284 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4126, allocations: 4.5 kB / 0.5546 GB, free: 280 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.4137, allocations: 398.6 kB / 0.5549 GB, free: 15.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.4152, allocations: 318.7 kB / 0.5552 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.4176, allocations: 1.254 MB / 0.5565 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.418, allocations: 336.3 kB / 0.5568 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001017/0.419, allocations: 429.1 kB / 0.5572 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.4193, allocations: 96.45 kB / 0.5573 GB, free: 13.41 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4193, allocations: 0 / 0.5573 GB, free: 13.41 MB / 442.7 MB Notification: Performance of Templates: time 0.03001/0.4493, allocations: 15.39 MB / 0.5723 GB, free: 14.26 MB / 458.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.831305776024237]