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.001856/0.001856, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 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.002414/0.002414, allocations: 213.6 kB / 23.73 MB, free: 4.406 MB / 14.72 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.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 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.2507/0.2507, allocations: 46.94 MB / 360.8 MB, free: 3.938 MB / 286.1 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 0.002608/0.002608, allocations: 75.88 kB / 0.4967 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3959, allocations: 66.08 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2189/0.6148, allocations: 156.5 MB / 0.714 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.625, allocations: 5.97 MB / 0.7199 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.6257, allocations: 27.75 kB / 0.7199 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.627, allocations: 393.7 kB / 0.7203 GB, free: 484 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.6317, allocations: 1.791 MB / 0.722 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.636, allocations: 1.51 MB / 0.7235 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003412/0.6394, allocations: 2.134 MB / 0.7256 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009767/0.6404, allocations: 485.4 kB / 0.726 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.6447, allocations: 1.799 MB / 0.7278 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.6478, allocations: 1.534 MB / 0.7293 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.6481, allocations: 76 kB / 0.7294 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.6509, allocations: 1.15 MB / 0.7305 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005265/0.6514, allocations: 450.8 kB / 0.7309 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000691/0.6521, allocations: 478.1 kB / 0.7314 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.6553, allocations: 2.072 MB / 0.7334 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.6553, allocations: 11.92 kB / 0.7334 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6553, allocations: 0 / 0.7334 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.6553, allocations: 0 / 0.7334 GB, free: 2.984 MB / 0.5606 GB 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.003171/0.6585, allocations: 1.403 MB / 0.7348 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.6585, allocations: 8.031 kB / 0.7348 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.66, allocations: 291.1 kB / 0.7351 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.6613, allocations: 0.5751 MB / 0.7356 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.6615, allocations: 172.1 kB / 0.7358 GB, free: 464 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.6616, allocations: 64 kB / 0.7358 GB, free: 400 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2615/0.9231, allocations: 1.961 MB / 0.7378 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.9231, allocations: 3.875 kB / 0.7378 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.9233, allocations: 34.64 kB / 0.7378 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/0.9234, allocations: 81.52 kB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.9255, allocations: 1.052 MB / 0.7389 GB, free: 174.1 MB / 0.5606 GB 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.00559/0.9311, allocations: 3.857 MB / 0.7427 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.9316, allocations: 296.2 kB / 0.743 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.9319, allocations: 144.8 kB / 0.7431 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.9319, allocations: 21.88 kB / 0.7431 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.932, allocations: 41.53 kB / 0.7432 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.424e-06/0.932, allocations: 0 / 0.7432 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00613/0.9381, allocations: 1.744 MB / 0.7449 GB, free: 170 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.9382, allocations: 132.5 kB / 0.745 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008464/0.939, allocations: 0.8349 MB / 0.7458 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.939, allocations: 33.7 kB / 0.7458 GB, free: 169 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.9393, allocations: 0.5959 MB / 0.7464 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.9394, allocations: 142.7 kB / 0.7465 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.9396, allocations: 218.8 kB / 0.7468 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9397, allocations: 390.7 kB / 0.7471 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.9401, allocations: 274.5 kB / 0.7474 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.9407, allocations: 0.9505 MB / 0.7483 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.9416, allocations: 1.176 MB / 0.7495 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9416, allocations: 4 kB / 0.7495 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001496/0.9431, allocations: 1.219 MB / 0.7507 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.9431, allocations: 12 kB / 0.7507 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.9432, allocations: 20 kB / 0.7507 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.9444, allocations: 300.2 kB / 0.751 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.9449, allocations: 206.1 kB / 0.7512 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008061/0.9457, allocations: 0.9151 MB / 0.7521 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.9463, allocations: 44 kB / 0.7521 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/0.9464, allocations: 64 kB / 0.7522 GB, free: 162 MB / 0.5606 GB 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.0003317/0.9467, allocations: 354.8 kB / 0.7525 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.9468, allocations: 84.58 kB / 0.7526 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00085/0.9477, allocations: 0.4933 MB / 0.7531 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.9477, allocations: 4 kB / 0.7531 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9477, allocations: 3.984 kB / 0.7531 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.9477, allocations: 0 / 0.7531 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.949, allocations: 0.9763 MB / 0.754 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.949, allocations: 3.688 kB / 0.754 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009138/0.9499, allocations: 175.8 kB / 0.7542 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.011e-05/0.95, allocations: 29.88 kB / 0.7542 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.95, allocations: 8 kB / 0.7542 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.9513, allocations: 2.621 MB / 0.7568 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9513, allocations: 0 / 0.7568 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008124/0.9521, allocations: 0.6966 MB / 0.7575 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.9523, allocations: 103.5 kB / 0.7576 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.9525, allocations: 15.95 kB / 0.7576 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.9528, allocations: 18.89 kB / 0.7576 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.9529, allocations: 27.89 kB / 0.7576 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.9529, allocations: 19.98 kB / 0.7577 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004857/0.9534, allocations: 0.5234 MB / 0.7582 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9534, allocations: 0 / 0.7582 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001158/0.9546, allocations: 379.5 kB / 0.7585 GB, free: 155.3 MB / 0.5606 GB 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.00133/0.9559, allocations: 0.6438 MB / 0.7592 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.957, allocations: 0.6503 MB / 0.7598 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.957, allocations: 0.9375 kB / 0.7598 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007989/0.9578, allocations: 371 kB / 0.7602 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.9592, allocations: 335.3 kB / 0.7605 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.9611, allocations: 1.618 MB / 0.7621 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.9614, allocations: 437.4 kB / 0.7625 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007583/0.9622, allocations: 357.7 kB / 0.7628 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.9623, allocations: 71.42 kB / 0.7629 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.9623, allocations: 4 kB / 0.7629 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02598/0.9883, allocations: 20.83 MB / 0.7832 GB, free: 130.3 MB / 0.5606 GB " [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=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.835748111829162]