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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.594/1.594, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.361/0.361, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.613e-06/1.613e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.219e-05, allocations: 6.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3923/0.3923, allocations: 170.8 MB / 0.5332 GB, free: 2.805 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007347/0.3996, allocations: 5.427 MB / 0.5385 GB, free: 15.14 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008914/0.4005, allocations: 27.03 kB / 0.5386 GB, free: 15.13 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.4016, allocations: 307 kB / 0.5389 GB, free: 14.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004352/0.406, allocations: 1.39 MB / 0.5402 GB, free: 14.21 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.4094, allocations: 1.08 MB / 0.5413 GB, free: 13.67 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.4124, allocations: 1.885 MB / 0.5431 GB, free: 12.8 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008042/0.4132, allocations: 414.3 kB / 0.5435 GB, free: 12.55 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.416, allocations: 1.359 MB / 0.5448 GB, free: 11.96 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.4174, allocations: 0.732 MB / 0.5455 GB, free: 11.67 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.4176, allocations: 62.34 kB / 0.5456 GB, free: 11.67 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.4193, allocations: 0.5516 MB / 0.5461 GB, free: 11.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004404/0.4197, allocations: 285.2 kB / 0.5464 GB, free: 11.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004637/0.4202, allocations: 290.4 kB / 0.5467 GB, free: 11.1 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.4224, allocations: 1.398 MB / 0.5481 GB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4224, allocations: 0 / 0.5481 GB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4224, allocations: 0 / 0.5481 GB, free: 10.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.4224, allocations: 4 kB / 0.5481 GB, free: 10.2 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.002458/0.4249, allocations: 1.191 MB / 0.5492 GB, free: 9.289 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4249, allocations: 12.22 kB / 0.5492 GB, free: 9.285 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.4259, allocations: 217 kB / 0.5494 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.427, allocations: 0.4906 MB / 0.5499 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.4272, allocations: 153.5 kB / 0.5501 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4273, allocations: 59.98 kB / 0.5501 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.4289, allocations: 1.115 MB / 0.5512 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.4289, allocations: 6.281 kB / 0.5512 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.429, allocations: 28.62 kB / 0.5513 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.4291, allocations: 33.52 kB / 0.5513 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008945/0.43, allocations: 467.3 kB / 0.5517 GB, free: 7.379 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.005532/0.4355, allocations: 4.143 MB / 0.5558 GB, free: 3.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.4361, allocations: 299.3 kB / 0.5561 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.4363, allocations: 133 kB / 0.5562 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.4365, allocations: 21.91 kB / 0.5562 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.4365, allocations: 45.08 kB / 0.5563 GB, free: 3.426 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.4365, allocations: 0 / 0.5563 GB, free: 3.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005722/0.4422, allocations: 1.385 MB / 0.5576 GB, free: 2.008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.4423, allocations: 132.5 kB / 0.5577 GB, free: 1.848 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/0.4432, allocations: 0.6546 MB / 0.5584 GB, free: 1.176 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.4433, allocations: 37.7 kB / 0.5584 GB, free: 1.133 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.4437, allocations: 458.9 kB / 0.5588 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.4439, allocations: 162.8 kB / 0.559 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.4441, allocations: 180.2 kB / 0.5592 GB, free: 340 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004104/0.4446, allocations: 0.5781 MB / 0.5597 GB, free: 15.74 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.4449, allocations: 145.9 kB / 0.5599 GB, free: 15.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000841/0.4457, allocations: 0.6816 MB / 0.5605 GB, free: 14.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.447, allocations: 0.7811 MB / 0.5613 GB, free: 13.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.447, allocations: 8 kB / 0.5613 GB, free: 13.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001562/0.4486, allocations: 0.7853 MB / 0.5621 GB, free: 12.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4486, allocations: 16.22 kB / 0.5621 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4486, allocations: 8 kB / 0.5621 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.45, allocations: 291.5 kB / 0.5624 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.4505, allocations: 119.8 kB / 0.5625 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.4519, allocations: 1.129 MB / 0.5636 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.4524, allocations: 28 kB / 0.5636 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.4525, allocations: 59.98 kB / 0.5637 GB, free: 11.25 MB / 442.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.0003973/0.4529, allocations: 252.3 kB / 0.5639 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.453, allocations: 79.62 kB / 0.564 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.4547, allocations: 0.7858 MB / 0.5648 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4547, allocations: 4 kB / 0.5648 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4547, allocations: 0 / 0.5648 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4548, allocations: 0 / 0.5648 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.457, allocations: 1.152 MB / 0.5659 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.457, allocations: 0 / 0.5659 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.458, allocations: 203.6 kB / 0.5661 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.4582, allocations: 27.67 kB / 0.5661 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.4582, allocations: 20 kB / 0.5661 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/0.4615, allocations: 3.647 MB / 0.5697 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4615, allocations: 4 kB / 0.5697 GB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.4629, allocations: 0.7653 MB / 0.5704 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.4632, allocations: 103.7 kB / 0.5705 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.295e-05/0.4633, allocations: 15.94 kB / 0.5706 GB, free: 3.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.4636, allocations: 19.94 kB / 0.5706 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.4637, allocations: 39.88 kB / 0.5706 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.151e-05/0.4638, allocations: 35.98 kB / 0.5706 GB, free: 3.727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005483/0.4644, allocations: 402.8 kB / 0.571 GB, free: 3.336 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4644, allocations: 0 / 0.571 GB, free: 3.336 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00107/0.4654, allocations: 259.7 kB / 0.5713 GB, free: 3.082 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.000727/0.4662, allocations: 289.5 kB / 0.5716 GB, free: 2.793 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.4674, allocations: 494.3 kB / 0.572 GB, free: 2.309 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4674, allocations: 0 / 0.572 GB, free: 2.309 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.4684, allocations: 446.5 kB / 0.5725 GB, free: 1.852 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.47, allocations: 332.7 kB / 0.5728 GB, free: 1.555 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.4722, allocations: 1.209 MB / 0.574 GB, free: 292 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.4726, allocations: 324.3 kB / 0.5743 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009706/0.4736, allocations: 414.3 kB / 0.5747 GB, free: 15.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.4739, allocations: 96.44 kB / 0.5747 GB, free: 15.44 MB / 458.7 MB Notification: Performance of SimCode: time 8.81e-07/0.4739, allocations: 0 / 0.5747 GB, free: 15.44 MB / 458.7 MB Notification: Performance of Templates: time 0.03026/0.5041, allocations: 15.46 MB / 0.5898 GB, free: 232 kB / 458.7 MB " [Timeout remaining time 659] 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.015698990901001]