Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.001265/0.001265, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.004879/0.004879, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 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 0.9495/0.9495, allocations: 177 MB / 204.9 MB, free: 5.727 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.2779/0.2779, allocations: 34.25 MB / 295.6 MB, free: 0.6797 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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.575e-05, allocations: 6.219 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3485/0.3486, allocations: 156.3 MB / 0.5857 GB, free: 3.801 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005762/0.3543, allocations: 5.981 MB / 0.5915 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.3546, allocations: 27.75 kB / 0.5916 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.3554, allocations: 413.4 kB / 0.5919 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.3581, allocations: 1.838 MB / 0.5937 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.3605, allocations: 1.577 MB / 0.5953 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.3621, allocations: 2.266 MB / 0.5975 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.3627, allocations: 0.5902 MB / 0.5981 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002558/0.3652, allocations: 2.111 MB / 0.6001 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.3671, allocations: 1.61 MB / 0.6017 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3672, allocations: 104 kB / 0.6018 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.3693, allocations: 1.184 MB / 0.603 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004332/0.3697, allocations: 0.7327 MB / 0.6037 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.3701, allocations: 0.5615 MB / 0.6042 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.3723, allocations: 2.801 MB / 0.607 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3723, allocations: 0.8438 kB / 0.607 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3723, allocations: 0 / 0.607 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.3723, allocations: 0 / 0.607 GB, free: 13.97 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002275/0.3746, allocations: 1.661 MB / 0.6086 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3746, allocations: 8.031 kB / 0.6086 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008121/0.3755, allocations: 315 kB / 0.6089 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.3766, allocations: 0.7154 MB / 0.6096 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.3768, allocations: 204.7 kB / 0.6098 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3769, allocations: 96 kB / 0.6099 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.3788, allocations: 2.549 MB / 0.6124 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.3789, allocations: 7.953 kB / 0.6124 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.379, allocations: 44 kB / 0.6124 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-05/0.379, allocations: 97.89 kB / 0.6125 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.3807, allocations: 1.693 MB / 0.6142 GB, free: 6.27 MB / 0.5105 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.005208/0.3859, allocations: 4.8 MB / 0.6188 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.3867, allocations: 0.8408 MB / 0.6197 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004093/0.3872, allocations: 439.5 kB / 0.6201 GB, free: 104 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.127e-05/0.3872, allocations: 28.48 kB / 0.6201 GB, free: 72 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3873, allocations: 51.06 kB / 0.6202 GB, free: 12 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 1.874e-06/0.3873, allocations: 0 / 0.6202 GB, free: 12 kB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.006402/0.3937, allocations: 4.036 MB / 0.6241 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3937, allocations: 117.2 kB / 0.6242 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.3943, allocations: 0.6951 MB / 0.6249 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.3943, allocations: 41.7 kB / 0.6249 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.3946, allocations: 0.5505 MB / 0.6255 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.3947, allocations: 285.6 kB / 0.6257 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.3949, allocations: 206.5 kB / 0.6259 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3951, allocations: 390.7 kB / 0.6263 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/0.3957, allocations: 0.5797 MB / 0.6269 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.3964, allocations: 0.93 MB / 0.6278 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.3977, allocations: 1.447 MB / 0.6292 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3977, allocations: 4 kB / 0.6292 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002197/0.3999, allocations: 1.946 MB / 0.6311 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3999, allocations: 8 kB / 0.6311 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3999, allocations: 12 kB / 0.6311 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/0.4022, allocations: 1.348 MB / 0.6324 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.4025, allocations: 143.7 kB / 0.6326 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.4042, allocations: 1.924 MB / 0.6345 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.4046, allocations: 44.16 kB / 0.6345 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.4047, allocations: 63.98 kB / 0.6346 GB, free: 0.9141 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0004034/0.4051, allocations: 397.5 kB / 0.6349 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4052, allocations: 91.48 kB / 0.635 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.204/0.6092, allocations: 1.474 MB / 0.6365 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6092, allocations: 5.375 kB / 0.6365 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.6092, allocations: 3.781 kB / 0.6365 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6092, allocations: 3.094 kB / 0.6365 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.6119, allocations: 2.363 MB / 0.6388 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6119, allocations: 0 / 0.6388 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/0.6128, allocations: 327.3 kB / 0.6391 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.613, allocations: 76.03 kB / 0.6392 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.613, allocations: 36.97 kB / 0.6392 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.6142, allocations: 2.777 MB / 0.6419 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6142, allocations: 0 / 0.6419 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.6158, allocations: 1.871 MB / 0.6437 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.6161, allocations: 224.3 kB / 0.644 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.6162, allocations: 30.22 kB / 0.644 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.6166, allocations: 49.3 kB / 0.644 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.6167, allocations: 63.8 kB / 0.6441 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.6167, allocations: 61.45 kB / 0.6442 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003487/0.6171, allocations: 0.4905 MB / 0.6446 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.6171, allocations: 0 / 0.6446 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001001/0.6181, allocations: 476.2 kB / 0.6451 GB, free: 160.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.001052/0.6191, allocations: 0.6858 MB / 0.6458 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.6206, allocations: 1.42 MB / 0.6471 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6206, allocations: 7.297 kB / 0.6472 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007962/0.6214, allocations: 0.8245 MB / 0.648 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.6224, allocations: 470 kB / 0.6484 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.6251, allocations: 2.737 MB / 0.6511 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6255, allocations: 0.574 MB / 0.6516 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.6257, allocations: 105.2 kB / 0.6517 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/0.6257, allocations: 0 / 0.6517 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.02354/0.6493, allocations: 28.48 MB / 0.6795 GB, free: 152.4 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGas/SimpleNaturalGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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: 9.538760906085372]