Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9834/0.9834, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2553/0.2553, allocations: 32.81 MB / 294.3 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.08e-05, allocations: 10.25 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3277/0.3277, allocations: 149.2 MB / 0.5129 GB, free: 17.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0051/0.3328, allocations: 3.059 MB / 0.5159 GB, free: 15.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/0.3336, allocations: 27.19 kB / 0.5159 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009419/0.3345, allocations: 239.2 kB / 0.5162 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004614/0.3391, allocations: 1.536 MB / 0.5177 GB, free: 14.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.3417, allocations: 0.9424 MB / 0.5186 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003314/0.345, allocations: 2.223 MB / 0.5208 GB, free: 13.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.3463, allocations: 0.5172 MB / 0.5213 GB, free: 13.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.3497, allocations: 1.477 MB / 0.5227 GB, free: 12.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.3519, allocations: 1.503 MB / 0.5242 GB, free: 12.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.3521, allocations: 75.09 kB / 0.5242 GB, free: 12.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.3534, allocations: 0.6714 MB / 0.5249 GB, free: 11.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.3538, allocations: 486.2 kB / 0.5254 GB, free: 11.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.3542, allocations: 418.4 kB / 0.5258 GB, free: 11.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.3564, allocations: 1.47 MB / 0.5272 GB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3564, allocations: 0 / 0.5272 GB, free: 10.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3564, allocations: 0 / 0.5272 GB, free: 10.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.3564, allocations: 0 / 0.5272 GB, free: 10.95 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.002339/0.3588, allocations: 1.469 MB / 0.5286 GB, free: 10.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3588, allocations: 8.875 kB / 0.5286 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.3599, allocations: 414.4 kB / 0.529 GB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008065/0.3607, allocations: 0.5752 MB / 0.5296 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.3608, allocations: 169.4 kB / 0.5298 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3609, allocations: 74.41 kB / 0.5298 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.362, allocations: 1.568 MB / 0.5314 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.362, allocations: 7.891 kB / 0.5314 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.3621, allocations: 35.52 kB / 0.5314 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.082e-05/0.3622, allocations: 86.62 kB / 0.5315 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007096/0.3629, allocations: 421 kB / 0.5319 GB, free: 7.891 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.003699/0.3666, allocations: 4.331 MB / 0.5361 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.3669, allocations: 173.9 kB / 0.5363 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.367, allocations: 76.77 kB / 0.5364 GB, free: 4.453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.3671, allocations: 31.45 kB / 0.5364 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3671, allocations: 43.19 kB / 0.5364 GB, free: 4.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.3671, allocations: 0 / 0.5364 GB, free: 4.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.003683/0.3708, allocations: 1.39 MB / 0.5378 GB, free: 3.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.3708, allocations: 134.8 kB / 0.5379 GB, free: 3.484 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.3715, allocations: 0.8161 MB / 0.5387 GB, free: 3.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.3715, allocations: 32.73 kB / 0.5387 GB, free: 3.031 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.3718, allocations: 0.6524 MB / 0.5394 GB, free: 2.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.548e-05/0.3718, allocations: 131.2 kB / 0.5395 GB, free: 2.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.372, allocations: 234 kB / 0.5397 GB, free: 2.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3722, allocations: 0.579 MB / 0.5403 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3724, allocations: 109.5 kB / 0.5404 GB, free: 1.711 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.3728, allocations: 1.047 MB / 0.5414 GB, free: 452 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/0.3737, allocations: 1.148 MB / 0.5425 GB, free: 15.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.3737, allocations: 5.531 kB / 0.5425 GB, free: 15.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001188/0.3749, allocations: 0.9335 MB / 0.5435 GB, free: 14.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3749, allocations: 14.38 kB / 0.5435 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.3749, allocations: 17.09 kB / 0.5435 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007354/0.3757, allocations: 255.8 kB / 0.5437 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.376, allocations: 197.2 kB / 0.5439 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000684/0.3767, allocations: 1.003 MB / 0.5449 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.3772, allocations: 43.27 kB / 0.5449 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.3772, allocations: 67.91 kB / 0.545 GB, free: 13.79 MB / 426.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.0002533/0.3775, allocations: 250 kB / 0.5452 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.3776, allocations: 101.8 kB / 0.5453 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005603/0.3782, allocations: 389.9 kB / 0.5457 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3782, allocations: 6.969 kB / 0.5457 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3782, allocations: 0 / 0.5457 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3782, allocations: 3.984 kB / 0.5457 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.3793, allocations: 0.8898 MB / 0.5466 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3793, allocations: 0 / 0.5466 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.3798, allocations: 179.5 kB / 0.5468 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-05/0.3799, allocations: 24.36 kB / 0.5468 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.3799, allocations: 9.75 kB / 0.5468 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.3816, allocations: 3.557 MB / 0.5503 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3816, allocations: 2.688 kB / 0.5503 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.3821, allocations: 0.5238 MB / 0.5508 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.3823, allocations: 107.2 kB / 0.5509 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.3823, allocations: 9.812 kB / 0.5509 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3825, allocations: 17.95 kB / 0.5509 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.3826, allocations: 24.02 kB / 0.5509 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3826, allocations: 22.67 kB / 0.551 GB, free: 8.406 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003803/0.383, allocations: 453.9 kB / 0.5514 GB, free: 8.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 0 / 0.5514 GB, free: 8.137 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001054/0.3841, allocations: 349.7 kB / 0.5517 GB, free: 7.918 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.000958/0.385, allocations: 498.4 kB / 0.5522 GB, free: 7.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008664/0.3859, allocations: 0.494 MB / 0.5527 GB, free: 6.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3859, allocations: 3.938 kB / 0.5527 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.3864, allocations: 365.8 kB / 0.553 GB, free: 6.547 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.3873, allocations: 347.2 kB / 0.5534 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.3894, allocations: 1.352 MB / 0.5547 GB, free: 4.832 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.3896, allocations: 215.2 kB / 0.5549 GB, free: 4.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005864/0.3902, allocations: 334.8 kB / 0.5552 GB, free: 4.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3903, allocations: 80.48 kB / 0.5553 GB, free: 4.191 MB / 426.7 MB Notification: Performance of SimCode: time 1.794e-06/0.3903, allocations: 0 / 0.5553 GB, free: 4.191 MB / 426.7 MB Notification: Performance of Templates: time 0.02153/0.4118, allocations: 17.78 MB / 0.5726 GB, free: 2.727 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1622726153582335]