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.001162/0.001162, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.004357/0.004357, allocations: 170.6 kB / 24.99 MB, free: 8.789 MB / 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 1.081/1.081, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2616/0.2616, allocations: 32.81 MB / 294.6 MB, free: 1.281 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.553e-06/1.553e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.955e-05, allocations: 6.25 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3367/0.3367, allocations: 173.9 MB / 0.5371 GB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007936/0.3446, allocations: 6.639 MB / 0.5436 GB, free: 13.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.3453, allocations: 27.22 kB / 0.5436 GB, free: 13.14 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.3465, allocations: 400.1 kB / 0.544 GB, free: 12.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.3503, allocations: 1.828 MB / 0.5458 GB, free: 11.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.3534, allocations: 1.542 MB / 0.5473 GB, free: 11.19 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002217/0.3556, allocations: 2.155 MB / 0.5494 GB, free: 9.965 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.3563, allocations: 0.497 MB / 0.5498 GB, free: 9.609 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.3594, allocations: 2.06 MB / 0.5519 GB, free: 8.363 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.3615, allocations: 1.497 MB / 0.5533 GB, free: 7.562 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.3616, allocations: 74.47 kB / 0.5534 GB, free: 7.562 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.3637, allocations: 1.162 MB / 0.5545 GB, free: 6.941 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.364, allocations: 482.8 kB / 0.555 GB, free: 6.469 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.3644, allocations: 419.1 kB / 0.5554 GB, free: 6.059 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.3665, allocations: 1.761 MB / 0.5571 GB, free: 4.293 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3665, allocations: 0 / 0.5571 GB, free: 4.293 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3665, allocations: 0 / 0.5571 GB, free: 4.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.3665, allocations: 0 / 0.5571 GB, free: 4.293 MB / 426.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.002009/0.3685, allocations: 1.511 MB / 0.5586 GB, free: 2.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3686, allocations: 8.031 kB / 0.5586 GB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.3696, allocations: 414.5 kB / 0.559 GB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.3703, allocations: 0.578 MB / 0.5595 GB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.3704, allocations: 168 kB / 0.5597 GB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.3705, allocations: 75.94 kB / 0.5598 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3717, allocations: 1.567 MB / 0.5613 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3717, allocations: 0 / 0.5613 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.3718, allocations: 39.98 kB / 0.5614 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/0.3719, allocations: 81.2 kB / 0.5614 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.3725, allocations: 420.2 kB / 0.5618 GB, free: 15.09 MB / 442.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.003829/0.3764, allocations: 4.35 MB / 0.5661 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.3767, allocations: 178.9 kB / 0.5662 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3768, allocations: 75.59 kB / 0.5663 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/0.3768, allocations: 23.98 kB / 0.5663 GB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3769, allocations: 41.39 kB / 0.5664 GB, free: 10.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.3769, allocations: 0 / 0.5664 GB, free: 10.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.003597/0.3805, allocations: 1.404 MB / 0.5678 GB, free: 8.797 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.3805, allocations: 132.5 kB / 0.5679 GB, free: 8.637 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.3812, allocations: 0.8152 MB / 0.5687 GB, free: 7.805 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.3812, allocations: 41.7 kB / 0.5687 GB, free: 7.758 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.3816, allocations: 0.6495 MB / 0.5693 GB, free: 7.098 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.3817, allocations: 131 kB / 0.5695 GB, free: 6.969 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.3819, allocations: 236.4 kB / 0.5697 GB, free: 6.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.3821, allocations: 0.5781 MB / 0.5703 GB, free: 6.141 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.3823, allocations: 110.5 kB / 0.5704 GB, free: 6.035 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.3829, allocations: 1.044 MB / 0.5714 GB, free: 4.578 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.3837, allocations: 1.151 MB / 0.5725 GB, free: 3.047 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3837, allocations: 7.312 kB / 0.5725 GB, free: 3.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001039/0.3848, allocations: 0.9301 MB / 0.5734 GB, free: 2.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3848, allocations: 12.78 kB / 0.5734 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.3848, allocations: 20 kB / 0.5735 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000689/0.3855, allocations: 240.1 kB / 0.5737 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.3858, allocations: 211.6 kB / 0.5739 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006398/0.3865, allocations: 0.9943 MB / 0.5749 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.3869, allocations: 51.98 kB / 0.5749 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.3869, allocations: 64 kB / 0.575 GB, free: 500 kB / 442.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.0002161/0.3871, allocations: 236.1 kB / 0.5752 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3872, allocations: 95.48 kB / 0.5753 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/0.3878, allocations: 395 kB / 0.5757 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3878, allocations: 4 kB / 0.5757 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3878, allocations: 4 kB / 0.5757 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3878, allocations: 7.984 kB / 0.5757 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/0.3888, allocations: 0.8912 MB / 0.5766 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3888, allocations: 0 / 0.5766 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.3893, allocations: 171.8 kB / 0.5767 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.836e-05/0.3894, allocations: 27.7 kB / 0.5767 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3894, allocations: 8 kB / 0.5767 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.3908, allocations: 3.559 MB / 0.5802 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3908, allocations: 0 / 0.5802 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.3914, allocations: 0.5204 MB / 0.5807 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.3915, allocations: 108.2 kB / 0.5808 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.3916, allocations: 11.98 kB / 0.5808 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3918, allocations: 15.98 kB / 0.5809 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.3918, allocations: 28.11 kB / 0.5809 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.3919, allocations: 27.92 kB / 0.5809 GB, free: 10.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003742/0.3923, allocations: 446.9 kB / 0.5813 GB, free: 9.629 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3923, allocations: 0 / 0.5813 GB, free: 9.629 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009737/0.3932, allocations: 387.4 kB / 0.5817 GB, free: 9.25 MB / 458.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.001112/0.3943, allocations: 0.6441 MB / 0.5823 GB, free: 8.602 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007508/0.3951, allocations: 0.4904 MB / 0.5828 GB, free: 8.113 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3951, allocations: 8.062 kB / 0.5828 GB, free: 8.105 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004847/0.3956, allocations: 357.3 kB / 0.5832 GB, free: 7.734 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/0.3965, allocations: 358.3 kB / 0.5835 GB, free: 7.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.3984, allocations: 1.36 MB / 0.5848 GB, free: 6.008 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.3985, allocations: 215.2 kB / 0.585 GB, free: 5.777 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005783/0.3991, allocations: 340.6 kB / 0.5854 GB, free: 5.445 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3992, allocations: 72.48 kB / 0.5854 GB, free: 5.375 MB / 458.7 MB Notification: Performance of SimCode: time 1.684e-06/0.3992, allocations: 0 / 0.5854 GB, free: 5.375 MB / 458.7 MB Notification: Performance of Templates: time 0.02222/0.4214, allocations: 19.49 MB / 0.6045 GB, free: 2.215 MB / 474.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.2354408639948815]