Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001159/0.001159, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001345/0.001345, allocations: 156.5 kB / 24.55 MB, free: 16 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.005/1.005, allocations: 177 MB / 204.8 MB, free: 5.602 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.2901/0.2901, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.097e-05, allocations: 7.859 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3348/0.3348, allocations: 149.2 MB / 0.5156 GB, free: 15.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.3393, allocations: 3.06 MB / 0.5186 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007227/0.34, allocations: 27.16 kB / 0.5186 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00067/0.3407, allocations: 244.3 kB / 0.5189 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.3436, allocations: 1.529 MB / 0.5203 GB, free: 12.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.3455, allocations: 0.9415 MB / 0.5213 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002268/0.3478, allocations: 2.224 MB / 0.5234 GB, free: 10.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.3486, allocations: 0.5163 MB / 0.5239 GB, free: 10.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.3507, allocations: 1.481 MB / 0.5254 GB, free: 9.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.3527, allocations: 1.493 MB / 0.5268 GB, free: 9.445 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.3529, allocations: 78.59 kB / 0.5269 GB, free: 9.441 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.3541, allocations: 0.6758 MB / 0.5276 GB, free: 9.227 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.3544, allocations: 486 kB / 0.528 GB, free: 9.016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005023/0.3549, allocations: 412.8 kB / 0.5284 GB, free: 8.871 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.3569, allocations: 1.467 MB / 0.5299 GB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3569, allocations: 2.438 kB / 0.5299 GB, free: 8.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3569, allocations: 0 / 0.5299 GB, free: 8.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.23e-05/0.357, allocations: 0 / 0.5299 GB, free: 8.32 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002207/0.3592, allocations: 1.473 MB / 0.5313 GB, free: 7.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3592, allocations: 8.062 kB / 0.5313 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/0.3602, allocations: 414.9 kB / 0.5317 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.361, allocations: 0.572 MB / 0.5323 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/0.3611, allocations: 167.5 kB / 0.5324 GB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.3612, allocations: 78.8 kB / 0.5325 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.3623, allocations: 1.571 MB / 0.534 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.3623, allocations: 15.83 kB / 0.5341 GB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/0.3623, allocations: 35.47 kB / 0.5341 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.3624, allocations: 78.72 kB / 0.5342 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.3631, allocations: 421.6 kB / 0.5346 GB, free: 5.262 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.003618/0.3667, allocations: 4.33 MB / 0.5388 GB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.367, allocations: 176.5 kB / 0.539 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3671, allocations: 73.61 kB / 0.539 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/0.3672, allocations: 23.89 kB / 0.5391 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3672, allocations: 40.62 kB / 0.5391 GB, free: 1.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.3672, allocations: 0 / 0.5391 GB, free: 1.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.00355/0.3707, allocations: 1.407 MB / 0.5405 GB, free: 1.004 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3708, allocations: 131.2 kB / 0.5406 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.3714, allocations: 0.8099 MB / 0.5414 GB, free: 404 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3714, allocations: 36.7 kB / 0.5414 GB, free: 364 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.3717, allocations: 0.6488 MB / 0.5421 GB, free: 15.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/0.3718, allocations: 135.3 kB / 0.5422 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.3721, allocations: 234.5 kB / 0.5424 GB, free: 15.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3723, allocations: 0.579 MB / 0.543 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.3725, allocations: 113 kB / 0.5431 GB, free: 14.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/0.3731, allocations: 1.043 MB / 0.5441 GB, free: 13.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009/0.374, allocations: 1.149 MB / 0.5452 GB, free: 12.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.374, allocations: 5.5 kB / 0.5452 GB, free: 12.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001238/0.3752, allocations: 0.9264 MB / 0.5461 GB, free: 11.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3753, allocations: 15.66 kB / 0.5461 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.3753, allocations: 20.06 kB / 0.5462 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007343/0.376, allocations: 255.7 kB / 0.5464 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.3764, allocations: 205.6 kB / 0.5466 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007354/0.3771, allocations: 1.003 MB / 0.5476 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.3776, allocations: 42.66 kB / 0.5476 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.3777, allocations: 68.53 kB / 0.5477 GB, free: 10.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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.000296/0.378, allocations: 246.7 kB / 0.5479 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3781, allocations: 95.86 kB / 0.548 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006007/0.3787, allocations: 387 kB / 0.5484 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3787, allocations: 2.656 kB / 0.5484 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3787, allocations: 0 / 0.5484 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3787, allocations: 48 / 0.5484 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.3801, allocations: 0.9016 MB / 0.5493 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3801, allocations: 0 / 0.5493 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.3806, allocations: 175.8 kB / 0.5494 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.3808, allocations: 27.67 kB / 0.5495 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.3808, allocations: 11.98 kB / 0.5495 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.3826, allocations: 3.551 MB / 0.5529 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3826, allocations: 0 / 0.5529 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.3832, allocations: 0.5205 MB / 0.5535 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.3834, allocations: 107.7 kB / 0.5536 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.3834, allocations: 8 kB / 0.5536 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.3836, allocations: 15.98 kB / 0.5536 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.3837, allocations: 23.95 kB / 0.5536 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.3837, allocations: 23.98 kB / 0.5536 GB, free: 4.621 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003986/0.3841, allocations: 454.9 kB / 0.5541 GB, free: 4.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3841, allocations: 0 / 0.5541 GB, free: 4.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001101/0.3852, allocations: 351.6 kB / 0.5544 GB, free: 3.836 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.0009536/0.3862, allocations: 498.4 kB / 0.5549 GB, free: 3.336 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008839/0.387, allocations: 0.4943 MB / 0.5554 GB, free: 2.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.387, allocations: 0 / 0.5554 GB, free: 2.844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.3875, allocations: 361.5 kB / 0.5557 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.3885, allocations: 356.2 kB / 0.556 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.3906, allocations: 1.367 MB / 0.5574 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.3908, allocations: 207.2 kB / 0.5576 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006377/0.3914, allocations: 334.8 kB / 0.5579 GB, free: 188 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3916, allocations: 76.48 kB / 0.558 GB, free: 112 kB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3916, allocations: 0 / 0.558 GB, free: 112 kB / 426.7 MB Notification: Performance of Templates: time 0.02333/0.4149, allocations: 17.77 MB / 0.5753 GB, free: 14.63 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.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.138256782665849]