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.001449/0.001449, 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.001584/0.001584, 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.512/1.512, allocations: 177 MB / 204.4 MB, free: 5.609 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.3344/0.3344, allocations: 34.25 MB / 295.2 MB, free: 0.6484 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.723e-06/1.723e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.567e-05/3.739e-05, allocations: 2.312 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3538/0.3538, allocations: 156.5 MB / 0.5212 GB, free: 8.512 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007689/0.3615, allocations: 5.976 MB / 0.527 GB, free: 4.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.3624, allocations: 26.41 kB / 0.527 GB, free: 4.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.3635, allocations: 400.8 kB / 0.5274 GB, free: 4.297 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003815/0.3673, allocations: 1.825 MB / 0.5292 GB, free: 3.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.3708, allocations: 1.558 MB / 0.5307 GB, free: 2.574 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.3727, allocations: 2.146 MB / 0.5328 GB, free: 1.621 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005853/0.3733, allocations: 0.5034 MB / 0.5333 GB, free: 1.312 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/0.3766, allocations: 2.055 MB / 0.5353 GB, free: 496 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.3791, allocations: 1.489 MB / 0.5368 GB, free: 15.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.3793, allocations: 74.28 kB / 0.5368 GB, free: 15.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.3819, allocations: 1.157 MB / 0.538 GB, free: 15.23 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005371/0.3824, allocations: 482.2 kB / 0.5384 GB, free: 14.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000585/0.383, allocations: 409.8 kB / 0.5388 GB, free: 14.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.3865, allocations: 2.212 MB / 0.541 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3865, allocations: 0 / 0.541 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3865, allocations: 0 / 0.541 GB, free: 13.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3865, allocations: 0 / 0.541 GB, free: 13.38 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00323/0.3897, allocations: 1.402 MB / 0.5423 GB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.3898, allocations: 14.5 kB / 0.5424 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.3916, allocations: 420.5 kB / 0.5428 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.3928, allocations: 0.5885 MB / 0.5433 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.393, allocations: 162.9 kB / 0.5435 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.3931, allocations: 85.08 kB / 0.5436 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.3957, allocations: 1.971 MB / 0.5455 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3957, allocations: 0 / 0.5455 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.3958, allocations: 30.44 kB / 0.5455 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.3959, allocations: 85.39 kB / 0.5456 GB, free: 9.836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.3976, allocations: 1.048 MB / 0.5466 GB, free: 9.316 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.007442/0.4051, allocations: 3.876 MB / 0.5504 GB, free: 5.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.4057, allocations: 298.5 kB / 0.5507 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.406, allocations: 137.4 kB / 0.5508 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.893e-05/0.406, allocations: 23.98 kB / 0.5509 GB, free: 5.039 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.4061, allocations: 34.56 kB / 0.5509 GB, free: 4.996 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 4.369e-06/0.4061, allocations: 4 kB / 0.5509 GB, free: 4.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.00747/0.4136, allocations: 1.782 MB / 0.5526 GB, free: 3.148 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.4137, allocations: 136.5 kB / 0.5528 GB, free: 2.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.4149, allocations: 0.8322 MB / 0.5536 GB, free: 2.141 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.4149, allocations: 37.64 kB / 0.5536 GB, free: 2.098 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000543/0.4155, allocations: 0.5921 MB / 0.5542 GB, free: 1.496 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.4156, allocations: 134.9 kB / 0.5543 GB, free: 1.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/0.416, allocations: 218.8 kB / 0.5545 GB, free: 1.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.4162, allocations: 390.7 kB / 0.5549 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.4167, allocations: 278.4 kB / 0.5552 GB, free: 496 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.418, allocations: 0.9392 MB / 0.5561 GB, free: 15.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.4198, allocations: 1.183 MB / 0.5572 GB, free: 13.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.4198, allocations: 8 kB / 0.5572 GB, free: 13.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002496/0.4223, allocations: 1.264 MB / 0.5585 GB, free: 12.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.4223, allocations: 12 kB / 0.5585 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.4223, allocations: 24.09 kB / 0.5585 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.4238, allocations: 296.1 kB / 0.5588 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.4244, allocations: 203.6 kB / 0.559 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.4257, allocations: 0.9215 MB / 0.5599 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/0.4266, allocations: 40 kB / 0.5599 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.4267, allocations: 68 kB / 0.56 GB, free: 10.93 MB / 442.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.0005514/0.4272, allocations: 345.3 kB / 0.5603 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.4274, allocations: 95.48 kB / 0.5604 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4286, allocations: 0.5052 MB / 0.5609 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4286, allocations: 11.98 kB / 0.5609 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4286, allocations: 0 / 0.5609 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4286, allocations: 0 / 0.5609 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.4305, allocations: 0.9648 MB / 0.5619 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4306, allocations: 0 / 0.5619 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.4317, allocations: 184.5 kB / 0.562 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.4318, allocations: 28.88 kB / 0.5621 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.4318, allocations: 8 kB / 0.5621 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.4348, allocations: 2.633 MB / 0.5646 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4348, allocations: 0 / 0.5646 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.4363, allocations: 0.6975 MB / 0.5653 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.4366, allocations: 111.5 kB / 0.5654 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4367, allocations: 4 kB / 0.5654 GB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.4371, allocations: 19.98 kB / 0.5655 GB, free: 5.051 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/0.4372, allocations: 27.89 kB / 0.5655 GB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.4373, allocations: 23.92 kB / 0.5655 GB, free: 5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008879/0.4382, allocations: 0.5265 MB / 0.566 GB, free: 4.477 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4382, allocations: 4 kB / 0.566 GB, free: 4.473 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001745/0.4399, allocations: 375.5 kB / 0.5664 GB, free: 4.105 MB / 442.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.001905/0.4418, allocations: 0.6485 MB / 0.567 GB, free: 3.453 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.4435, allocations: 0.6544 MB / 0.5677 GB, free: 2.801 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4435, allocations: 5 kB / 0.5677 GB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.4446, allocations: 374.3 kB / 0.568 GB, free: 2.418 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.4464, allocations: 348.9 kB / 0.5683 GB, free: 2.098 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.4495, allocations: 1.521 MB / 0.5698 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/0.4501, allocations: 441.5 kB / 0.5703 GB, free: 84 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001086/0.4512, allocations: 362 kB / 0.5706 GB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.4514, allocations: 76.42 kB / 0.5707 GB, free: 15.65 MB / 458.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4514, allocations: 0 / 0.5707 GB, free: 15.65 MB / 458.7 MB Notification: Performance of Templates: time 0.03792/0.4893, allocations: 19.41 MB / 0.5896 GB, free: 12.54 MB / 474.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.113873568945564]