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.0009598/0.0009598, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0008571/0.0008571, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9071/0.9071, allocations: 177 MB / 205.1 MB, free: 5.473 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.2567/0.2567, allocations: 34.87 MB / 296.6 MB, free: 0.4961 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.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 1.803e-06/1.803e-06, allocations: 0 / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.66e-05, allocations: 3.719 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2851/0.2851, allocations: 146.4 MB / 0.5134 GB, free: 16.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.2897, allocations: 3.03 MB / 0.5163 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008133/0.2905, allocations: 27.59 kB / 0.5164 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008495/0.2914, allocations: 240.1 kB / 0.5166 GB, free: 14.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.2945, allocations: 1.543 MB / 0.5181 GB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.2964, allocations: 0.9324 MB / 0.519 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.2984, allocations: 2.222 MB / 0.5212 GB, free: 12.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006015/0.299, allocations: 0.5221 MB / 0.5217 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.3025, allocations: 2.918 MB / 0.5245 GB, free: 10.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009064/0.3034, allocations: 0.6864 MB / 0.5252 GB, free: 10.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.3035, allocations: 74.28 kB / 0.5253 GB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.3048, allocations: 0.663 MB / 0.5259 GB, free: 10.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.3051, allocations: 487.3 kB / 0.5264 GB, free: 10.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.3054, allocations: 413.5 kB / 0.5268 GB, free: 9.969 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.3071, allocations: 1.467 MB / 0.5282 GB, free: 9.418 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3071, allocations: 0 / 0.5282 GB, free: 9.418 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3071, allocations: 0 / 0.5282 GB, free: 9.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/0.3071, allocations: 2.625 kB / 0.5282 GB, free: 9.418 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.001873/0.309, allocations: 1.462 MB / 0.5296 GB, free: 8.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.309, allocations: 11.28 kB / 0.5296 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.3099, allocations: 386.5 kB / 0.53 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.3106, allocations: 0.5485 MB / 0.5306 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/0.3107, allocations: 166.6 kB / 0.5307 GB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.3108, allocations: 72.94 kB / 0.5308 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.3116, allocations: 1.486 MB / 0.5322 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3116, allocations: 7.938 kB / 0.5322 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.3117, allocations: 34.89 kB / 0.5323 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.226e-05/0.3117, allocations: 84.92 kB / 0.5324 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.3122, allocations: 339.5 kB / 0.5327 GB, free: 6.441 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.003026/0.3152, allocations: 4.174 MB / 0.5368 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3154, allocations: 167.3 kB / 0.5369 GB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/0.3155, allocations: 60.88 kB / 0.537 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.3155, allocations: 27.11 kB / 0.537 GB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3155, allocations: 48.53 kB / 0.537 GB, free: 3.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.3155, allocations: 0 / 0.537 GB, free: 3.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002649/0.3182, allocations: 1.192 MB / 0.5382 GB, free: 2.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3182, allocations: 142 kB / 0.5383 GB, free: 2.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.3187, allocations: 0.8088 MB / 0.5391 GB, free: 1.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3187, allocations: 36.23 kB / 0.5392 GB, free: 1.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.3189, allocations: 0.6611 MB / 0.5398 GB, free: 1.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.319, allocations: 136.6 kB / 0.5399 GB, free: 1.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.3191, allocations: 244.7 kB / 0.5402 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3192, allocations: 0.5847 MB / 0.5407 GB, free: 400 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3194, allocations: 91.38 kB / 0.5408 GB, free: 376 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.3199, allocations: 1.054 MB / 0.5419 GB, free: 15.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00076/0.3206, allocations: 1.154 MB / 0.543 GB, free: 13.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3206, allocations: 5.906 kB / 0.543 GB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0008649/0.3215, allocations: 0.8861 MB / 0.5439 GB, free: 13.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3215, allocations: 14 kB / 0.5439 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.3215, allocations: 22.38 kB / 0.5439 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/0.3221, allocations: 240.4 kB / 0.5441 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.3224, allocations: 207.5 kB / 0.5443 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005439/0.3229, allocations: 0.9863 MB / 0.5453 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.3233, allocations: 45.23 kB / 0.5453 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.3234, allocations: 63.81 kB / 0.5454 GB, free: 12.23 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.0001903/0.3236, allocations: 233.1 kB / 0.5456 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.3236, allocations: 101.3 kB / 0.5457 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.3241, allocations: 370 kB / 0.5461 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3241, allocations: 2.719 kB / 0.5461 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3241, allocations: 2.906 kB / 0.5461 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3241, allocations: 3.984 kB / 0.5461 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/0.3249, allocations: 0.7475 MB / 0.5468 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3249, allocations: 2.781 kB / 0.5468 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.3253, allocations: 149.3 kB / 0.5469 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.296e-05/0.3254, allocations: 27.08 kB / 0.547 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3254, allocations: 6.531 kB / 0.547 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.3268, allocations: 3.508 MB / 0.5504 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3268, allocations: 10.78 kB / 0.5504 GB, free: 7.508 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.3273, allocations: 499.8 kB / 0.5509 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.3274, allocations: 107.4 kB / 0.551 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.3275, allocations: 8 kB / 0.551 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3277, allocations: 15.98 kB / 0.551 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.3277, allocations: 27.89 kB / 0.551 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.3278, allocations: 27.28 kB / 0.5511 GB, free: 6.922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003634/0.3281, allocations: 422.8 kB / 0.5515 GB, free: 6.512 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3281, allocations: 0 / 0.5515 GB, free: 6.512 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008902/0.329, allocations: 355.6 kB / 0.5518 GB, free: 6.164 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.0007783/0.3298, allocations: 494.4 kB / 0.5523 GB, free: 5.672 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006086/0.3304, allocations: 476.8 kB / 0.5527 GB, free: 5.207 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3304, allocations: 8 kB / 0.5527 GB, free: 5.199 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.3308, allocations: 330.9 kB / 0.5531 GB, free: 4.855 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.3316, allocations: 350.2 kB / 0.5534 GB, free: 4.535 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.3336, allocations: 1.345 MB / 0.5547 GB, free: 3.148 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.3338, allocations: 211.2 kB / 0.5549 GB, free: 2.922 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005233/0.3343, allocations: 219.1 kB / 0.5551 GB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/0.3349, allocations: 425.8 kB / 0.5555 GB, free: 2.285 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3349, allocations: 4 kB / 0.5555 GB, free: 2.281 MB / 426.7 MB Notification: Performance of Templates: time 0.02342/0.3583, allocations: 20.29 MB / 0.5753 GB, free: 14.27 MB / 458.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.025125743821263]