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.001982/0.001982, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.0021/0.0021, allocations: 156.8 kB / 24.27 MB, free: 156 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.591/1.591, 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.3652/0.3652, allocations: 34.25 MB / 295.2 MB, free: 0.6523 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.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 2.234e-06/2.234e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.369e-05, allocations: 2.312 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3815/0.3815, allocations: 173.9 MB / 0.5382 GB, free: 15.39 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.3923, allocations: 6.651 MB / 0.5447 GB, free: 10.96 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000901/0.3932, allocations: 31.06 kB / 0.5447 GB, free: 10.94 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.3947, allocations: 398.7 kB / 0.5451 GB, free: 10.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005122/0.3998, allocations: 1.824 MB / 0.5469 GB, free: 9.781 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.4042, allocations: 1.552 MB / 0.5484 GB, free: 8.844 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.4074, allocations: 2.154 MB / 0.5505 GB, free: 7.613 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.4085, allocations: 0.5002 MB / 0.551 GB, free: 7.254 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005155/0.4137, allocations: 2.049 MB / 0.553 GB, free: 6.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003428/0.4171, allocations: 1.486 MB / 0.5544 GB, free: 4.906 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.4175, allocations: 79.94 kB / 0.5545 GB, free: 4.828 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.421, allocations: 1.161 MB / 0.5556 GB, free: 3.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007957/0.4218, allocations: 490.7 kB / 0.5561 GB, free: 3.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.4229, allocations: 411.2 kB / 0.5565 GB, free: 2.777 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004855/0.4277, allocations: 2.217 MB / 0.5587 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4277, allocations: 0 / 0.5587 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4277, allocations: 0 / 0.5587 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.001e-05/0.4278, allocations: 3.938 kB / 0.5587 GB, free: 0.5508 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.00406/0.4318, allocations: 1.57 MB / 0.5602 GB, free: 14.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4319, allocations: 8.031 kB / 0.5602 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.4337, allocations: 418.6 kB / 0.5606 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.4351, allocations: 0.5702 MB / 0.5612 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.4353, allocations: 168.1 kB / 0.5613 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.4355, allocations: 83.92 kB / 0.5614 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.438, allocations: 1.687 MB / 0.5631 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.4381, allocations: 15.88 kB / 0.5631 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.4382, allocations: 32 kB / 0.5631 GB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.4383, allocations: 81.27 kB / 0.5632 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.4397, allocations: 0.5788 MB / 0.5637 GB, free: 10.99 MB / 442.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.008847/0.4485, allocations: 4.762 MB / 0.5684 GB, free: 6.105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.4491, allocations: 249 kB / 0.5686 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.4494, allocations: 111.6 kB / 0.5687 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-05/0.4495, allocations: 23.98 kB / 0.5688 GB, free: 5.715 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.4495, allocations: 45.33 kB / 0.5688 GB, free: 5.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.4495, allocations: 0 / 0.5688 GB, free: 5.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.006949/0.4565, allocations: 1.594 MB / 0.5704 GB, free: 4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.4566, allocations: 132.5 kB / 0.5705 GB, free: 3.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.458, allocations: 0.9869 MB / 0.5715 GB, free: 2.836 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.458, allocations: 33.7 kB / 0.5715 GB, free: 2.797 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/0.4587, allocations: 0.6848 MB / 0.5722 GB, free: 2.102 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.4589, allocations: 150.9 kB / 0.5723 GB, free: 1.953 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/0.4593, allocations: 268.4 kB / 0.5726 GB, free: 1.684 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004348/0.4597, allocations: 0.6211 MB / 0.5732 GB, free: 1.051 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.4601, allocations: 166.5 kB / 0.5733 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.4614, allocations: 1.122 MB / 0.5744 GB, free: 15.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.4633, allocations: 1.279 MB / 0.5757 GB, free: 13.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.4633, allocations: 7.938 kB / 0.5757 GB, free: 13.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002104/0.4654, allocations: 1.063 MB / 0.5767 GB, free: 12.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.4654, allocations: 16 kB / 0.5767 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.4655, allocations: 23.98 kB / 0.5767 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.4669, allocations: 275.4 kB / 0.577 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.4675, allocations: 203.6 kB / 0.5772 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.4689, allocations: 1.13 MB / 0.5783 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.4697, allocations: 43.98 kB / 0.5783 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4698, allocations: 72.03 kB / 0.5784 GB, free: 10.84 MB / 458.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.0004578/0.4702, allocations: 276.1 kB / 0.5787 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.4704, allocations: 95.48 kB / 0.5788 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.4715, allocations: 452.8 kB / 0.5792 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4715, allocations: 4 kB / 0.5792 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4715, allocations: 3.938 kB / 0.5792 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4715, allocations: 0 / 0.5792 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.4736, allocations: 1.102 MB / 0.5803 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4736, allocations: 0 / 0.5803 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.4746, allocations: 187.1 kB / 0.5805 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.4748, allocations: 23.67 kB / 0.5805 GB, free: 8.637 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.4748, allocations: 8 kB / 0.5805 GB, free: 8.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/0.478, allocations: 3.648 MB / 0.5841 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.478, allocations: 0 / 0.5841 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.4792, allocations: 0.6565 MB / 0.5847 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.4795, allocations: 103.4 kB / 0.5848 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.4797, allocations: 8 kB / 0.5848 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.4801, allocations: 24.2 kB / 0.5848 GB, free: 3.926 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.4802, allocations: 27.89 kB / 0.5849 GB, free: 3.898 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.4802, allocations: 24.98 kB / 0.5849 GB, free: 3.875 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007844/0.481, allocations: 0.5224 MB / 0.5854 GB, free: 3.355 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.481, allocations: 0 / 0.5854 GB, free: 3.355 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001524/0.4825, allocations: 383.4 kB / 0.5858 GB, free: 2.98 MB / 458.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.00179/0.4843, allocations: 0.6483 MB / 0.5864 GB, free: 2.324 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.4858, allocations: 0.6081 MB / 0.587 GB, free: 1.719 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4858, allocations: 0 / 0.587 GB, free: 1.719 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.4868, allocations: 413.2 kB / 0.5874 GB, free: 1.293 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.4885, allocations: 359.6 kB / 0.5877 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.4912, allocations: 1.399 MB / 0.5891 GB, free: 15.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.4918, allocations: 409.5 kB / 0.5895 GB, free: 15.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009161/0.4927, allocations: 342 kB / 0.5898 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.493, allocations: 76.48 kB / 0.5899 GB, free: 14.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.333e-06/0.493, allocations: 0 / 0.5899 GB, free: 14.7 MB / 474.7 MB Notification: Performance of Templates: time 0.03811/0.5311, allocations: 19.47 MB / 0.6089 GB, free: 11.52 MB / 490.7 MB " [Timeout remaining time 659] 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","/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.597322221961804]