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.001631/0.001631, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001042/0.001042, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.9183/0.9183, allocations: 177 MB / 205.9 MB, free: 4.457 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.1416/0.1416, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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 2.314e-06/2.314e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.374e-05, allocations: 4.5 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3161/0.3161, allocations: 146.4 MB / 0.5141 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.3193, allocations: 3.038 MB / 0.5171 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003497/0.3197, allocations: 33.62 kB / 0.5171 GB, free: 13.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.3202, allocations: 237.1 kB / 0.5173 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.3225, allocations: 1.536 MB / 0.5188 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.3239, allocations: 0.9424 MB / 0.5197 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002193/0.3261, allocations: 2.218 MB / 0.5219 GB, free: 13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.3268, allocations: 0.516 MB / 0.5224 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.3304, allocations: 2.933 MB / 0.5253 GB, free: 12.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008607/0.3312, allocations: 0.6888 MB / 0.526 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.3314, allocations: 73.97 kB / 0.526 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.3325, allocations: 0.6651 MB / 0.5267 GB, free: 12.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.3328, allocations: 482.2 kB / 0.5271 GB, free: 12.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.3333, allocations: 411.1 kB / 0.5275 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.3349, allocations: 1.463 MB / 0.529 GB, free: 12.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3349, allocations: 3.469 kB / 0.529 GB, free: 12.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3349, allocations: 0 / 0.529 GB, free: 12.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.3349, allocations: 4 kB / 0.529 GB, free: 12.23 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.001803/0.3367, allocations: 1.454 MB / 0.5304 GB, free: 11.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3367, allocations: 14.89 kB / 0.5304 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008599/0.3376, allocations: 384.8 kB / 0.5308 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.3382, allocations: 0.5474 MB / 0.5313 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.3383, allocations: 167.7 kB / 0.5315 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3384, allocations: 80.92 kB / 0.5315 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.3392, allocations: 1.491 MB / 0.533 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.3392, allocations: 3.953 kB / 0.533 GB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.3393, allocations: 33.66 kB / 0.533 GB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.089e-05/0.3393, allocations: 78.48 kB / 0.5331 GB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.3397, allocations: 340.9 kB / 0.5334 GB, free: 9.285 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.002776/0.3425, allocations: 4.181 MB / 0.5375 GB, free: 6.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3427, allocations: 163.1 kB / 0.5377 GB, free: 6.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.3428, allocations: 70.94 kB / 0.5377 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.3428, allocations: 21.31 kB / 0.5378 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3429, allocations: 44.27 kB / 0.5378 GB, free: 5.992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.3429, allocations: 4 kB / 0.5378 GB, free: 5.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002715/0.3456, allocations: 1.175 MB / 0.5389 GB, free: 5.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.3456, allocations: 133.7 kB / 0.5391 GB, free: 5.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.3461, allocations: 0.8145 MB / 0.5399 GB, free: 4.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3461, allocations: 33.14 kB / 0.5399 GB, free: 4.625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.3463, allocations: 0.6577 MB / 0.5405 GB, free: 4.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.3464, allocations: 145.6 kB / 0.5407 GB, free: 3.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.3466, allocations: 244.2 kB / 0.5409 GB, free: 3.824 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3467, allocations: 0.579 MB / 0.5415 GB, free: 3.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3468, allocations: 94.16 kB / 0.5416 GB, free: 3.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.3472, allocations: 1.057 MB / 0.5426 GB, free: 1.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/0.3478, allocations: 1.15 MB / 0.5437 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3478, allocations: 9.406 kB / 0.5437 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0008384/0.3487, allocations: 0.8837 MB / 0.5446 GB, free: 248 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3487, allocations: 13.56 kB / 0.5446 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3487, allocations: 18.94 kB / 0.5446 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.3493, allocations: 254.1 kB / 0.5449 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.3496, allocations: 207.5 kB / 0.5451 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005962/0.3502, allocations: 0.9833 MB / 0.546 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.3506, allocations: 44.56 kB / 0.5461 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.3506, allocations: 64.77 kB / 0.5461 GB, free: 15.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0001924/0.3508, allocations: 239.2 kB / 0.5464 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.3509, allocations: 98.36 kB / 0.5465 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.3513, allocations: 363.1 kB / 0.5468 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3513, allocations: 9.219 kB / 0.5468 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3513, allocations: 0 / 0.5468 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3514, allocations: 3.938 kB / 0.5468 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.3521, allocations: 0.7437 MB / 0.5475 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3521, allocations: 0 / 0.5475 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.3525, allocations: 161.9 kB / 0.5477 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-05/0.3526, allocations: 19.2 kB / 0.5477 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3526, allocations: 10.09 kB / 0.5477 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.354, allocations: 3.515 MB / 0.5512 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.354, allocations: 0 / 0.5512 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.3544, allocations: 0.4908 MB / 0.5516 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3545, allocations: 110.3 kB / 0.5517 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.3546, allocations: 13.94 kB / 0.5518 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.3548, allocations: 13.88 kB / 0.5518 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.3548, allocations: 24.42 kB / 0.5518 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.3548, allocations: 14.7 kB / 0.5518 GB, free: 10.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002636/0.3551, allocations: 428.2 kB / 0.5522 GB, free: 9.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3551, allocations: 0 / 0.5522 GB, free: 9.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007846/0.3559, allocations: 355.4 kB / 0.5525 GB, free: 9.82 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.0007869/0.3567, allocations: 499.8 kB / 0.553 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005597/0.3572, allocations: 473 kB / 0.5535 GB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3572, allocations: 0 / 0.5535 GB, free: 9.371 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.3576, allocations: 338.2 kB / 0.5538 GB, free: 9.141 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008111/0.3584, allocations: 350.8 kB / 0.5541 GB, free: 8.969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3604, allocations: 1.353 MB / 0.5555 GB, free: 8.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.3605, allocations: 209.8 kB / 0.5557 GB, free: 7.949 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004159/0.3609, allocations: 217.2 kB / 0.5559 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.3615, allocations: 424.6 kB / 0.5563 GB, free: 7.656 MB / 426.7 MB Notification: Performance of SimCode: time 6.72e-07/0.3615, allocations: 0 / 0.5563 GB, free: 7.656 MB / 426.7 MB Notification: Performance of Templates: time 0.02292/0.3844, allocations: 20.5 MB / 0.5763 GB, free: 6.246 MB / 442.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.2703482448123395]