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.001852/0.001852, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001973/0.001973, allocations: 165.3 kB / 24.28 MB, free: 148 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 1.625/1.625, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3725/0.3725, allocations: 32.81 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.813e-06/1.813e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.773e-05/3.954e-05, allocations: 10.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4032/0.4033, allocations: 173.9 MB / 0.5363 GB, free: 1.602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009031/0.4123, allocations: 6.655 MB / 0.5428 GB, free: 13.17 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005864/0.4129, allocations: 35.38 kB / 0.5428 GB, free: 13.15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.414, allocations: 388.9 kB / 0.5432 GB, free: 12.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.4184, allocations: 1.824 MB / 0.545 GB, free: 12 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003844/0.4222, allocations: 1.549 MB / 0.5465 GB, free: 11.24 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002528/0.4247, allocations: 2.151 MB / 0.5486 GB, free: 10.08 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007681/0.4255, allocations: 0.5115 MB / 0.5491 GB, free: 9.711 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003671/0.4292, allocations: 2.053 MB / 0.5511 GB, free: 8.473 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.4318, allocations: 1.486 MB / 0.5525 GB, free: 7.684 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001844/0.432, allocations: 81.59 kB / 0.5526 GB, free: 7.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.4346, allocations: 1.164 MB / 0.5538 GB, free: 7 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005808/0.4352, allocations: 482.8 kB / 0.5542 GB, free: 6.527 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006875/0.4359, allocations: 415.2 kB / 0.5546 GB, free: 6.121 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.4394, allocations: 2.209 MB / 0.5568 GB, free: 3.906 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4394, allocations: 0 / 0.5568 GB, free: 3.906 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.4394, allocations: 7.938 kB / 0.5568 GB, free: 3.898 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.4394, allocations: 0 / 0.5568 GB, free: 3.898 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.003355/0.4427, allocations: 1.57 MB / 0.5583 GB, free: 2.285 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4428, allocations: 12.03 kB / 0.5583 GB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.4444, allocations: 414.6 kB / 0.5587 GB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4457, allocations: 0.5741 MB / 0.5593 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.4459, allocations: 164.1 kB / 0.5594 GB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.4461, allocations: 87.92 kB / 0.5595 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.4487, allocations: 1.691 MB / 0.5612 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.4487, allocations: 7.891 kB / 0.5612 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.4488, allocations: 32 kB / 0.5612 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.4489, allocations: 81.27 kB / 0.5613 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.4502, allocations: 0.5788 MB / 0.5619 GB, free: 14.34 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.007759/0.458, allocations: 4.765 MB / 0.5665 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.4588, allocations: 249.8 kB / 0.5667 GB, free: 9.195 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.4591, allocations: 111.6 kB / 0.5669 GB, free: 9.082 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.784e-05/0.4592, allocations: 23.98 kB / 0.5669 GB, free: 9.059 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.4592, allocations: 45.33 kB / 0.5669 GB, free: 9.004 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.4592, allocations: 0 / 0.5669 GB, free: 9.004 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.006583/0.4658, allocations: 1.581 MB / 0.5685 GB, free: 7.359 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.4659, allocations: 132.5 kB / 0.5686 GB, free: 7.199 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.4672, allocations: 0.9908 MB / 0.5696 GB, free: 6.191 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.4673, allocations: 33.7 kB / 0.5696 GB, free: 6.152 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006377/0.4679, allocations: 0.6926 MB / 0.5703 GB, free: 5.449 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.4681, allocations: 146.9 kB / 0.5704 GB, free: 5.305 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000391/0.4684, allocations: 264.4 kB / 0.5707 GB, free: 5.039 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004309/0.4689, allocations: 0.625 MB / 0.5713 GB, free: 4.402 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.4692, allocations: 158.5 kB / 0.5714 GB, free: 4.246 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.4705, allocations: 1.133 MB / 0.5725 GB, free: 2.703 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.4725, allocations: 1.277 MB / 0.5738 GB, free: 1.047 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.4725, allocations: 4 kB / 0.5738 GB, free: 1.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001968/0.4744, allocations: 1.063 MB / 0.5748 GB, free: 15.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.4745, allocations: 16 kB / 0.5748 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.4745, allocations: 20 kB / 0.5748 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.4758, allocations: 271.8 kB / 0.5751 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.4764, allocations: 207.6 kB / 0.5753 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.4778, allocations: 1.132 MB / 0.5764 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.4785, allocations: 45.44 kB / 0.5765 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4786, allocations: 64 kB / 0.5765 GB, free: 14.19 MB / 458.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.0004187/0.479, allocations: 292 kB / 0.5768 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.4791, allocations: 95.48 kB / 0.5769 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.4802, allocations: 446.5 kB / 0.5773 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4802, allocations: 4 kB / 0.5773 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4802, allocations: 7.938 kB / 0.5773 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4802, allocations: 3.984 kB / 0.5773 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.4823, allocations: 1.102 MB / 0.5784 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4823, allocations: 4.031 kB / 0.5784 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.4833, allocations: 172.3 kB / 0.5786 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.4834, allocations: 31.66 kB / 0.5786 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.4834, allocations: 12 kB / 0.5786 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.4868, allocations: 3.646 MB / 0.5822 GB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4868, allocations: 0 / 0.5822 GB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.488, allocations: 0.649 MB / 0.5828 GB, free: 7.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.4883, allocations: 115.5 kB / 0.5829 GB, free: 7.297 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4884, allocations: 8 kB / 0.5829 GB, free: 7.289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.4888, allocations: 15.62 kB / 0.5829 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.4889, allocations: 27.89 kB / 0.583 GB, free: 7.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.4889, allocations: 23.92 kB / 0.583 GB, free: 7.227 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007729/0.4897, allocations: 0.5263 MB / 0.5835 GB, free: 6.703 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4897, allocations: 0 / 0.5835 GB, free: 6.703 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001424/0.4911, allocations: 383.4 kB / 0.5839 GB, free: 6.328 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.00175/0.4929, allocations: 0.649 MB / 0.5845 GB, free: 5.668 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.4944, allocations: 0.5993 MB / 0.5851 GB, free: 5.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4944, allocations: 0 / 0.5851 GB, free: 5.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.4954, allocations: 414.4 kB / 0.5855 GB, free: 4.645 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.4971, allocations: 352.3 kB / 0.5858 GB, free: 4.332 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.5, allocations: 1.403 MB / 0.5872 GB, free: 2.891 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.5005, allocations: 417.4 kB / 0.5876 GB, free: 2.457 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009621/0.5015, allocations: 347.3 kB / 0.5879 GB, free: 2.117 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.5017, allocations: 72.48 kB / 0.588 GB, free: 2.047 MB / 458.7 MB Notification: Performance of SimCode: time 1.794e-06/0.5017, allocations: 0 / 0.588 GB, free: 2.047 MB / 458.7 MB Notification: Performance of Templates: time 0.0378/0.5395, allocations: 19.47 MB / 0.607 GB, free: 14.89 MB / 490.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.289643079973757]