Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.001111/0.001111, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001629/0.001629, allocations: 161 kB / 24.56 MB, free: 12 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.9338/0.9338, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2656/0.2656, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T|volume.medium.X.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.004e-05, allocations: 2.312 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2675/0.2676, allocations: 149.1 MB / 0.5148 GB, free: 15.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.2712, allocations: 3.05 MB / 0.5178 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004289/0.2716, allocations: 27.5 kB / 0.5178 GB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006131/0.2723, allocations: 246 kB / 0.518 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.2747, allocations: 1.543 MB / 0.5195 GB, free: 12.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2762, allocations: 0.9811 MB / 0.5205 GB, free: 12.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.2777, allocations: 2.336 MB / 0.5228 GB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.2784, allocations: 0.6391 MB / 0.5234 GB, free: 10.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.2812, allocations: 2.981 MB / 0.5263 GB, free: 9.914 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.2819, allocations: 0.8046 MB / 0.5271 GB, free: 9.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.282, allocations: 97.09 kB / 0.5272 GB, free: 9.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008135/0.2829, allocations: 0.6901 MB / 0.5279 GB, free: 9.457 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.2832, allocations: 0.7335 MB / 0.5286 GB, free: 9.145 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.2836, allocations: 0.5666 MB / 0.5291 GB, free: 8.934 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2849, allocations: 1.868 MB / 0.531 GB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2849, allocations: 0 / 0.531 GB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2849, allocations: 0 / 0.531 GB, free: 8.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.285, allocations: 3.406 kB / 0.531 GB, free: 8.223 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.001857/0.2868, allocations: 1.727 MB / 0.5327 GB, free: 7.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2868, allocations: 11.19 kB / 0.5327 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008887/0.2877, allocations: 471 kB / 0.5331 GB, free: 7.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/0.2884, allocations: 0.6958 MB / 0.5338 GB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.565e-05/0.2885, allocations: 199.5 kB / 0.534 GB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.2886, allocations: 112.6 kB / 0.5341 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.2898, allocations: 1.814 MB / 0.5359 GB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.2899, allocations: 6.609 kB / 0.5359 GB, free: 5.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-05/0.29, allocations: 47.61 kB / 0.5359 GB, free: 5.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/0.29, allocations: 94.69 kB / 0.536 GB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.2909, allocations: 0.5972 MB / 0.5366 GB, free: 4.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.003757/0.2946, allocations: 4.71 MB / 0.5412 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.2951, allocations: 399.3 kB / 0.5416 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.2953, allocations: 173.5 kB / 0.5417 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.338e-05/0.2954, allocations: 35.38 kB / 0.5418 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2954, allocations: 51.64 kB / 0.5418 GB, free: 1.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.884e-06/0.2954, allocations: 0 / 0.5418 GB, free: 1.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=72): time 0.004804/0.3002, allocations: 2.59 MB / 0.5443 GB, free: 15.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.3003, allocations: 111.5 kB / 0.5444 GB, free: 15.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/0.3008, allocations: 0.6593 MB / 0.5451 GB, free: 14.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.3009, allocations: 41.7 kB / 0.5451 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.3012, allocations: 0.6117 MB / 0.5457 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.3014, allocations: 281.7 kB / 0.546 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.3016, allocations: 220.5 kB / 0.5462 GB, free: 13.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3018, allocations: 0.5703 MB / 0.5468 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.3021, allocations: 206.5 kB / 0.547 GB, free: 12.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.3026, allocations: 0.6799 MB / 0.5476 GB, free: 11.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.3035, allocations: 0.8843 MB / 0.5485 GB, free: 10.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.3035, allocations: 7.938 kB / 0.5485 GB, free: 10.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001348/0.3048, allocations: 1.075 MB / 0.5495 GB, free: 9.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3048, allocations: 12.78 kB / 0.5496 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3048, allocations: 16.08 kB / 0.5496 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/0.3072, allocations: 1.091 MB / 0.5506 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.3075, allocations: 147.8 kB / 0.5508 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.3087, allocations: 1.355 MB / 0.5521 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.3091, allocations: 51.91 kB / 0.5522 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.3092, allocations: 67.98 kB / 0.5522 GB, free: 6.996 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (85): * Single equations (assignments): 84 * 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.00024/0.3095, allocations: 224.3 kB / 0.5524 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.3096, allocations: 99.53 kB / 0.5525 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.3107, allocations: 0.9091 MB / 0.5534 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3107, allocations: 8 kB / 0.5534 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3107, allocations: 3.312 kB / 0.5534 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3107, allocations: 3.984 kB / 0.5534 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.3126, allocations: 1.722 MB / 0.5551 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3126, allocations: 0 / 0.5551 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008776/0.3135, allocations: 315.6 kB / 0.5554 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.3136, allocations: 39.67 kB / 0.5555 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.444e-05/0.3137, allocations: 39.97 kB / 0.5555 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.3153, allocations: 3.585 MB / 0.559 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3153, allocations: 0 / 0.559 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.3165, allocations: 1.067 MB / 0.56 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.3167, allocations: 204 kB / 0.5602 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-05/0.3168, allocations: 31.92 kB / 0.5603 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.3172, allocations: 47.95 kB / 0.5603 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3173, allocations: 60.55 kB / 0.5604 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.3174, allocations: 67.5 kB / 0.5604 GB, free: 14.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000299/0.3177, allocations: 419 kB / 0.5608 GB, free: 13.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3177, allocations: 0 / 0.5608 GB, free: 13.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007689/0.3184, allocations: 451.6 kB / 0.5613 GB, free: 13.4 MB / 442.7 MB 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.0008697/0.3193, allocations: 0.5188 MB / 0.5618 GB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.3204, allocations: 0.7684 MB / 0.5625 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3204, allocations: 4.891 kB / 0.5625 GB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006931/0.3211, allocations: 0.5809 MB / 0.5631 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3221, allocations: 0.4883 MB / 0.5636 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.3257, allocations: 2.288 MB / 0.5658 GB, free: 8.715 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.326, allocations: 289.2 kB / 0.5661 GB, free: 8.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008014/0.3268, allocations: 366.8 kB / 0.5664 GB, free: 8.047 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.3271, allocations: 92.48 kB / 0.5665 GB, free: 7.957 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3271, allocations: 0 / 0.5665 GB, free: 7.957 MB / 442.7 MB Notification: Performance of Templates: time 0.05241/0.3795, allocations: 31.43 MB / 0.5972 GB, free: 8.871 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.5059902258217335]